I have been working with Oracle and Orion since January.
The class attrib is the connection pool class not the driver class. The url
attrib is the JDBC url. And the connection-driver attrib is the Oracle
driver.
So it should look something like this:
<data-sources>
  <data-source
  name="Default data-source"
  schema="database-schemas/oracle.xml"
  class="com.evermind.sql.ConnectionDataSource"
  location="jdbc/DefaultDS"
  pooled-location="jdbc/DefaultPooledDS"
  xa-location="jdbc/xa/DefaultXADS"
  ejb-location="jdbc/DefaultEJBDS"
  url="jdbc:oracle:thin:@laptop:1521:mas"
  connection-driver="oracle.jdbc.driver.OracleDriver"
  username="scott"
  password="tiger"
 />
</data-sources>

I would also recommend using the classes12.zip instead of the
classes111.zip.

SnowWolf Wagner, MAIP


-----Original Message-----
From: "Neal Kaiser" [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 10, 2000 5:39 PM
To: "Orion-Interest" 
Subject: Trouble getting Orion working with Oracle in data-sources.xm


I'm having trouble propperly configuring data-sources.xml.

This is what my data-sources.xml looks like:

<data-sources>
  <data-source
  name="Default data-source"
  schema="database-schemas/oracle.xml"
  class="oracle.jdbc.driver.OracleDriver"
  location="jdbc/DefaultDS"
  pooled-location="jdbc/DefaultPooledDS"
  xa-location="jdbc/xa/DefaultXADS"
  ejb-location="jdbc/DefaultEJBDS"
  url="jdbc:ORACLE:defaultdb"
  connection-driver="jdbc:oracle:thin:@laptop:1521:mas"
  username="scott"
  password="tiger"
 />
</data-sources>

I copied classes111.zip to the orion/lib dir as well. When I start up Orion
it
says:

Error initializing server: Unknown DataSource type:
oracle.jdbc.driver.OracleDriver

I've even tried unzipping the classes111.zip file, no luck.  And my
server.xml
specifies the library of ../lib (as it does
by default)

Any ideas?

Thanks!
Neal

Reply via email to