• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in connecting to oracle 8i from java application

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I deleted the duplicate post of this thread for you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic