Hi Buck:
Orion picks the first datasource in the data-sources.xml file, unless you
tell it explicitly which data-source to use in
META-INF/orion-application.xml ..... either make your datasource be the
first one the file, or read the docs for (META-INF/orion-application.xml) so
you can configure the default datasource to be used by your application...
An alternate solution is to create "private" data-sources.xml inside your
EAR... :)
gotta go to bed!
sl8.
-----Original Message-----
From: Kevin Duffey [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 25, 2000 4:28 AM
To: Orion-Interest
Subject: Can't find DataSource in ejb-jar.xml file???
Hello all,
What the heck does it mean when I deploy an EJB .jar file and it says:
Auto-deploying ss.jar (ejb-jar.xml had been touched since the previous
deployment)... Error compiling file:/C:/ss/ss.jar: No DataSource found at
jdbc/HypersonicDS
My datasource is an Interbase one and I have it set up for that. In
orion/config/data-sources.xml that is where I have the Interbase stuff
mapped. In /confid/application.xml it points to data-sources.xml. So I fail
to see why it is telling me something about HypersonicDS when I have no
mention of it anywhere. If I delete data-sources.xml, orion wont start. So
it must be reading it in. Is Hypersonic being hard-coded into Orion as a
default? Even so..if its reading in mine it should be working.
Any help would be appreciated.
Thanks.