At 09:20 AM 1/17/2001 -0700, Gary Shea wrote:
>I believe you will need to copy the oracle jar classes111.zip or (if you
>have it) classes12.zip to the orion lib dir.  That at least is how I
>did it.

You are right Gary. It just happen that I figured the solution few minutes 
ago by seeing that the "hsql.jar" file is under the Lib folder too.

>I'm not sure if you can use the CLASSPATH to accomplish the
>same thing, but frankly I'm not clear on how orion decides where to find
>things!

I agree. Why do I have to copy the file(s) there instead of using the 
CLASSPATH? Shouldn't I be able to point to where Oracle installed the 
driver files? Do I need to have two copies of the driver files on my machine?

Maybe this is an idea for a future improvement for Orion(?)

>         Gary

Danut



>Danut Prisacaru ([EMAIL PROTECTED]) wrote:
> > I am trying to use Oracle database with Orion. In the "data-source.xml"
> > file I have added:
> >
> >     <data-source
> >        class="com.evermind.sql.DriverManagerDataSource"
> >        name="Oracle"
> >        schema="database-schemas/oracle.xml"
> >        location="jdbc/OracleCoreDS"
> >        xa-location="jdbc/xa/OracleXADS"
> >        ejb-location="jdbc/Myapollo"
> >        connection-driver="oracle.jdbc.driver.OracleDriver"
> >        username="system"
> >        password="manager"
> >        url="jdbc:oracle:oci8:@APOLLO"
> >        inactivity-timeout="30"
> >     />
> >
> > I have set the correct class path to the Oracle class files
> > 
> 
>CLASSPATH=c:\java\orion\jrb.jar;c:\java\orion\jndi.jar;.;c:\java\orion\orion.jar;C:\Java\Oracle;.;C:\Java\orion\orion.jar;C:\Java\orion\ejb.jar;C:\Java\orion\jndi.jar;C:\Java\j2sdkee1.2.1\lib\j2ee.jar;
> >
> > but when I launch Orion server I get the following message:
> >
> > C:\Java\orion>java -jar orion.jar
> > Error initializing server: DriverManagerDataSource driver
> > 'oracle.jdbc.driver.OracleDriver' not found
> >
> > Thank you,
> > Danut
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> >


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to