Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

java.sql.SQLException: Io exception: Connection refused

Posted on 2002-06-24
3
Medium Priority
?
583 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
2 Comments
 
LVL 9

Accepted Solution

by:
Ovi earned 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

783 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