Try this one...it should be in the orion/config
directory...data-sources.xml:
<?xml version="1.0"?>
<!DOCTYPE data-sources PUBLIC "Orion data-sources"
"http://www.orionserver.com/dtds/data-sources.dtd">
<data-sources>
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="our data-source"
location="jdbc/SomeDatabaseDS"
xa-location="jdbc/xa/SomeDatabaseXADS"
ejb-location="jdbc/SomeDatabaseDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="someusername"
password="usernamespassword"
url="jdbc:oracle:thin:@somemachinename:1521:somdatabasename"
inactivity-timeout="30"
shema="database-shemas/oracle.xml"
/>
</data-sources>
regards,
the elephantwalker
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mustafa Cayci
Sent: Tuesday, May 29, 2001 12:23 PM
To: Orion-Interest
Subject: ATM example and Oracle
I am trying to deploy and run the ATM example using
Oracle as database. Below is the data-sources.xml, I
anticipate a problem in the file since orion is not
finding the data source:
<data-source
class="oracle.jdbc.driver.OracleDriver"
name="Oracle"
---> location=""
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"
password="tiger"
url="jdbc:oracle:oci8:@ora816"
inactivity-timeout="30"
/>
What does the location should be?
Any help is appreciated.
Thanks,
Mustafa
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/