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 :
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:
j2ee logger=core.datasources.j2ee.firebird name=FirebirdDS
lookup-namejava:/FirebirdDS/lookup-name
/j2ee
I'm
Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble
creating a connection. I noticed
valueoracl.jdbc.driver.OracleDriver/value
contains a type-o. Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracl
with no e?
Ugo Cei [EMAIL PROTECTED] wrote:
Ugo
[EMAIL PROTECTED] wrote:
Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble
creating a connection. I noticed
valueoracl.jdbc.driver.OracleDriver/value
contains a type-o. Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracl
with no e?
The error
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 the
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