Fw: configuring jdbc with oracle...

2001-02-26 Thread Falk Langhammer
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)

Re: re: configuring jdbc with oracle...

2001-02-26 Thread John Hogan
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

Re: configuring jdbc with oracle

2001-02-26 Thread Paul Wilcox
Problem solved!! thank you everyone for your help. among other things, there was a problem with the URL.   Thanks again,   Paul Wilcox

re: configuring jdbc with oracle...

2001-02-26 Thread Alexey_Ryndin/Storactive
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

re: configuring jdbc with oracle...

2001-02-26 Thread Paul Wilcox
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

Re: configuring jdbc with oracle...

2001-02-26 Thread Alexey_Ryndin/Storactive
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.

Re: Re: configuring jdbc with oracle...

2001-02-24 Thread John Hogan
are you seeing any errors on Orion startup? _ Get your free E-mail at http://www.ireland.com

Re: configuring jdbc with oracle...

2001-02-23 Thread DSmith
PROTECTED]> To: Orion-Interest Sent by: <[EMAIL PROTECTED]> owner-orion-interest@orioncc: server.com

Re: configuring jdbc with oracle...

2001-02-23 Thread Rafael Alvarez
Hello Paul, A stack trace would be useful. That way it's easier to find the error.

configuring jdbc with oracle...

2001-02-23 Thread Paul Wilcox
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