• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Nathan Johnson
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ost the connection string you are trying to use. Make sure your TNSListener service is running.
 
Nathan Johnson
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic