Title: RE: Trouble getting Orion working with Oracle in data-sources.xml

Your class, url and connection-driver attributes are set incorrectly. They should be:

class="com.evermind.sql.ConnectionDataSource"
url="jdbc:oracle:thin:@laptop:1521:mas"
connection-driver="oracle.jdbc.driver.OracleDriver"

The class attribute determines what class is used for the implementation of the javax.sql.DataSource interface. The url attribute is the the JDBC URL that msut be understood by the JDBC driver class specified in connection-driver.

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


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