Failed to make database connection: java.sql.SQLException: Io exception: The Network Adapter could [message #102533] |
Thu, 11 July 2002 09:09 |
Ranga
Messages: 1 Registered: July 2002
|
Junior Member |
|
|
Hi,
I am trying to run one of my application which talks to the Database which is remotely located .
I am getting the following error
Error:
Failed to make database connection: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Oracle is 8.1.7.3 on Solaris 8 platform.
I can do an SQLPLUS and the connection is ok.
From my application I tried to echo the DB_URL which had the following output
jdbc:oracle:thin:@Box1:1521:sid1
Box1 is were the Datbase resides. The Db_user and Db_password are also set in the .login of the user which the application can see.
I don't know were the problem is ?
Can any body help me out.
Thanks
Ranga
|
|
|
|
|
|
|
|
Hostname [message #103354 is a reply to message #103047] |
Thu, 26 June 2003 04:12 |
Peter Saitz
Messages: 1 Registered: June 2003
|
Junior Member |
|
|
# hostname the_name_you_like
e.g.
# hostname mymachine.anywhere.net
or if you are running RedHat-Linux use
# linuxconf
|
|
|