Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
Also, I'd check out the commons source to see what exactly it's choking on. [EMAIL PROTECTED] wrote: >This looks like a Tomcat issue to me at this point. After looking around at some >Tomcat docs, the only two suggestions I have are that you do not have an AuthType >specified in your Resource

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
This looks like a Tomcat issue to me at this point. After looking around at some Tomcat docs, the only two suggestions I have are that you do not have an AuthType specified in your Resource tag (auth="Container"). I don't know if this is required. Also, did you check to make sure you updated th

Re: Using J2EE datasources

2002-09-23 Thread Ugo Cei
[EMAIL PROTECTED] wrote: > Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble >creating a connection. I noticed > oracl.jdbc.driver.OracleDriver > contains a type-o. Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracl >with no e? The error is just

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble creating a connection. I noticed oracl.jdbc.driver.OracleDriver contains a type-o. Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracl with no e? Ugo Cei <[EMAIL PROTECTED]> wrote: >Ugo Cei wrote

RE: Using J2EE datasources

2002-09-23 Thread JohnsBrn
By default org.apache.avalon.excalibur.datasource.J2eeDataSource looks for your J2EE datasource in the java:/comp/env/jdbc context. You can change this using the lookup-name parameter: java:/FirebirdDS I'm not that familiar with Tomcat or it's config files, but you need to store your J2EE dat

Re: Using J2EE datasources

2002-09-23 Thread Ugo Cei
Ugo Cei wrote: > I am trying to use a J2EE datasource, but am having troubles. Update: I have deduced that the datasource name in Tomcat must be prefixed by "jdbc/". Somehow I thought this was implicit. I have thus made progress, but now I get this: Original exception : org.apache.commons.dbcp