• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in connecting to oracle 8i from java application

 
Amitav Anand
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.....please help me out....
My java application is getting compiled absolutely fine but at the time of execution it is throwing an exception i.e.
(java.sql.SQLException:Io exception: The Network Adapter could not establish the connection)
Both the path and classpath are set in the following manner:
set path=c:\windows;c:\windows\command;c:\jdk1.3\bin;c:\jdk1.3\lib;
set classpath=%classpath%;c:\Oracle\Ora81\jdbc\lib\classes12.zip;
Waiting anxiously for the response..
Thanks
Amitav
 
Nagendra Prasad
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This could be related to a host of things:
a. The app server (or ur machine's app server) is not able to
see the oracle database server
b. the oracle listener process is not running
c. u have used a different service name while setting up the oracle data
source

Can you connec to the oracle instance from any other program from the same machine which has the app server (SQL*Plus for instance??)
[ September 22, 2003: Message edited by: Nagendra Prasad ]
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I deleted the duplicate post of this thread for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic