A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Database connectivity problem
Joined: Jan 27, 2004
Mar 02, 2005 08:21:00
I am having a problem connecting my
to the database.
I am able to connect to the database using SQL Worksheet so it is a problem with the servlet. I using Jrun3 as webserver.
This is the error I get.
Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093632)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
I have verified the username, pwd and instance and they are correct. Please help me. I am trying to resolve this since yesterday but it is not working.
The same code is working from another environment but not from my machine.
Joined: Feb 15, 2002
Mar 02, 2005 23:38:00
See if you are able to ping the database from your machine. It should be a network error as its working from other environment.
Joined: Aug 15, 2004
Mar 02, 2005 23:45:00
It sounds like a Database specific question.
Need some more details like,
- where is your DB reside, on a remote machine or locally?
- Code snippet?
- DB Vendor?
I agree. Here's the link:
subject: Database connectivity problem
JDBC connection problem on connecting to oracle on linux
Io exception: Connection refused in WSAD 5.1.1
Problem connecting J2ee Server to Oracle
Database Connection problem.Help Please
Unable to establish a network connection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014