• 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

EntityBean - through JNDI: Could not connect to data base !

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear friends,
I m using J2EE1.3 SUN Server with its own Deployment tool.
My code can pick up JNDI name.
But it is saying, It can not locate proper driver. I m using TYPE 4 Oracle driver (classes12.jar) and my tables are at database server.
Please tell me where to put my driver jar file in the path ? it is already set in the classpath but it is saying " CAN NOT FIND PROPER DRIVER "?
Should i provide server IP address in the connect string ? Please answer.
- Dharmin
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
use javap to check whether the classes12.jar is relay in the path.
To find the name of any class inside this package, open classes12.jar
using winzip , and try whether you can get details of that class using javap.
after setting up your environment.
Primarily the classpath should be set at server startup script.
regards,
 
amit mawkin
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
use javap to check whether the classes12.jar is relay in the path.
To find the name of any class inside this package, open classes12.jar
using winzip , and try whether you can get details of that class using javap.
after setting up your environment.
Primarily the classpath should be set at server startup script.
regards,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic