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. 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!
Gary
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
>
>
>