You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hassan Schroeder <ha...@gmail.com> on 2009/05/22 19:50:12 UTC

Re: Cannot establish a database connection. Cannot create JDBC driver of class '' for connect URL

On Fri, May 22, 2009 at 10:34 AM, raghu ram srinivas
<ra...@gmail.com> wrote:

>                     *PVS----my web applicaiton*
>                            ---
>                                 WEBINF

s/b WEB-INF

>                                 META-INF
>                                           *pvs.xml (contxt.xml)*
>
>  *pvs.xml (contxt.xml)*

No idea what you're trying to say there, but the file should be
named "context.xml" and should contain a Context element
with all this in it

> <Resource name="jdbc/pvs" auth="Container"
>              type="javax.sql.DataSource"
> driverClassName="oracle.jdbc.OracleDriver"

Shouldn't that be "oracle.jdbc.driver.OracleDriver" ??

> and I also got jojdbc drivers: ojdbc14.jar,ojdbc5.jar,ojdbc6.jar in lib
> folder.

And having multiple versions of the same class in your app is most
certainly not a good idea -- pick one :-)

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org