Could you also copy/paste the code that attempts to construct the
database connection?

I've found that it is a bit tricky to pull a connection out of the JNDI
context. It appears that the datasource is configured correctly, so my
thought is that the problem may be in the Java code.

-Wes 

[SNIP]
> 
> Hi iam working on jakarta-tomcat-5.5.9
> 
> iam trying to read DATASOuRCE configured from the server.xml  
> as defined
> in the 
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
> 
> But iam getting this same error message on console iam strucked please
> help me Thanks in ADVANCE.
> 
> DEBUG  org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
> JDBC driver of class '' for connect URL 'null'
> 
> 
> 
> <Context path="/myapp" docBase="myapp"
>         debug="5" reloadable="true" crossContext="true">
> 
> 
> debug="5" reloadable="true" crossContext="true">
> 
> <Resource name="jdbc/ORAdb" auth="Container"
>               type="javax.sql.DataSource"/>
> 
> <ResourceParams name="jdbc/ORAdb">
>   <parameter>
>     <name>factory</name>
>     <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
>   </parameter>
> .......
> 
> </ResourceParams>
> 
> Thanks
> Nagesh

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

Reply via email to