Solved

java.sql.SQLException: Io exception: Connection refused

Posted on 2002-06-24
3
573 Views
Last Modified: 2008-02-01
I am using oracle thin client as my JDBC driver to connect to a oracle8i server on solaris. when i try to get connection the following error message is displayed. Can anyone tell me how to overcome it?

java.sql.SQLException: Io exception: Connection refused (DESCRIPTION=(TMP=) (VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))

My environment :

jdk1.3 on winNT and JDBC - classes12.zip
oracle8.1.7 on solaris
0
Comment
Question by:send2sachin
3 Comments
 
LVL 9

Accepted Solution

by:
Ovi earned 50 total points
ID: 7106579
12505 is a non-described error (see on technet.oracle.com), the only things can be:

 1. the Oracle database is not running or
 2. you have no permission to connect to the remote machine.

0
 
LVL 35

Expert Comment

by:girionis
ID: 8860683
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this
question is:

- points to Ovi

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum6 challenge 6 86
how to see all occupied ports on windows 10 laptop 15 65
JavaFX TableView not displaying correctly 3 18
Html Table Looping (part 2) 5 7
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question