Solved

java.sql.SQLException: Io exception: Connection refused

Posted on 2002-06-24
3
576 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Eclipse for Java EE development 2 68
jsp error 6 72
Java class and jar 3 61
Delete .class files at every compile 4 57
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This video teaches viewers about errors in exception handling.
Suggested Courses

739 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