aspose file tools
The moose likes JDBC and the fly likes java.sql.SQLException: The Network Adapter ... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JDBC
Reply Bookmark "java.sql.SQLException: The Network Adapter ..." Watch "java.sql.SQLException: The Network Adapter ..." New topic
Author

java.sql.SQLException: The Network Adapter ...

Nathan Johnson
Ranch Hand

Joined: Feb 18, 2002
Posts: 32
Hi everyone I trying to connect to the default Personal Oracle 8.1.5 database (Orcl) on my Win98 Laptop, but I keep getting:
java.sql.SQLException: The Network Adapter could not establish the connection.
Any ideas anyone?
Here is my setup:
Win98
jdk1.3
Tomcat 4.0.2
I have tried both classes12 and classes111b.zip which I have converted to .jar files and placed in both the web-inf\lib directory of the webapp and in jdk1.3\jre\lib\ext
Thanks in advance!
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
Please ost the connection string you are trying to use. Make sure your TNSListener service is running.
Nathan Johnson
Ranch Hand

Joined: Feb 18, 2002
Posts: 32
Cheers Nigel,
I have left my laptop at home so I'll try the TNSListener tonight!
Here is my connection string:
("jdbc racle:thin racle:@localhost:1521 rcl", "scott", "tiger")
Nathan
 
 
subject: java.sql.SQLException: The Network Adapter ...
 
Threads others viewed
sid in jdbc oracle connection string
custom tag
Visibroker 4.5.1 for Java
Have trouble to install Tomcat on Win98
Problem in connecting to oracle 8i from java application
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture