I do not know the solution, but three things come to my mind...
- Original Message -
From: Paul Wilcox
Using DataSource ds = (DataSource)
ctx.lookup("java:comp/env/jdbc/DefaultDS");
instead of DataSource ds = (DataSource) ctx.lookup("jdbc/DefaultDS"); (or
jdbc/DefaultCoreDS)
As a sanity check, you may want to make sure you can get the Product
example running with Oracle first
(http://www.orionserver.com/docs/ejbexamples/index.html). There's
some good by the numbers instructions for editing the xml files ...
Also, make sure your oracle classes12.zip is in orion\l
Problem solved!! thank you everyone for your
help. among other things, there was a problem with the URL.
Thanks again,
Paul Wilcox
First of all, schema attribute in your data source file must look like
'schema="database-schemas/oracle.xml"'.
The second issue I can guess that you must say somewhere in your
application that you use this particular data-source. I use EJB, but in
my ejb-jar.xml file I mention resource corr
I am not getting any errors at startup of Orion. I have tried all suggestions, but am still unable to connect.Here are some of the errors that I get. //Using DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/Defau
Paul,
First of all, it may have sense to add attribute to your
data-sources.xml file.
At the second hand, try to use
DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/DefaultDS");
instead of
DataSource ds = (DataSource) ctx.lookup("jdbc/DefaultDS");
It may help.
Alexey Ryndin.
are you seeing any errors on Orion startup?
_
Get your free E-mail at http://www.ireland.com
PROTECTED]> To: Orion-Interest
Sent by: <[EMAIL PROTECTED]>
owner-orion-interest@orioncc:
server.com
Hello Paul,
A stack trace would be useful. That way it's easier to find the
error.
I am having great problems trying to connect to oracle thru
JDBC on orion. Here is my data-sources file:
//
class="com.evermind.sql.DriverManagerDataSource"
name="Oracle"
location="jdbc/DefaultCoreDS"
xa-location="jdbc/xa/DefaultXADS"
ejb-locat
10 matches
Mail list logo