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
It may be that you're using the "ejb-location" name rather than the "location" name of the data source. I've used both the standard Orion datasource and the pooled datasource with Oracle, and it has worked fine. Good luck, Doug -- Doug Smith http://www.eviciti.com mailto:[EMAIL PROTECTED]

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.