Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: hot to set J2EE_CLASSPATH for orcle
RandyTh <RandyTh_at_oracleforum.com> wrote:
> I am trying to create the jdbc resource for oracle in the Sun
> Java System Applicatoin Server Admin Console 1.4
>
> When set up the resources and try to ping the db i am always getting this
> error message.
>
> Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target
> exception message: Class name is wrong or classpath is not set for :
> oracle.jdbc.driver.OracleDriver
>
> The sys env i set for J2EE_CLASSPATH is the following
> C:\Sun\oracle\driver;C:\Sun\oracle\driver\ojdbc14.jar
>
> anything wrong?
Does it work if you write a small JDBC program that has the same CLASSPATH set and tries to connect to the database?
Yours,
Laurenz Albe
Received on Mon Nov 14 2005 - 09:06:57 CST