Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: hot to set J2EE_CLASSPATH for orcle

Re: hot to set J2EE_CLASSPATH for orcle

From: Laurenz Albe <invite_at_spam.to.invalid>
Date: 14 Nov 2005 15:06:57 GMT
Message-ID: <1131980815.584797@proxy.dienste.wien.at>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US