Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble 
creating a connection. I noticed 
<value>oracl.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 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.DbcpException: 
>java.sql.SQLException: invalid arguments in call
>at 
>org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:85)
>at 
>org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:184)
>at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown 
>Source)
>at 
>org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:117)
>at 
>org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)
>at 
>org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:312)
>at 
>org.apache.avalon.excalibur.datasource.J2eeDataSource.getConnection(J2eeDataSource.java:124)
>
>What call is it talking about?
>
>    Ugo
>
>-- 
>Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
>P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
>Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to