tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: jdbc via ResourceLink in context.xml not working in 5.5.4
Date Tue, 30 Nov 2004 13:59:37 GMT

If your resource is setup just like 5.0.28, it'll fail.  There are no
more nested <parameter> elements, instead they are attributes of the
Resource element.  Please consult the Tomcat 5.5 documentation for
details and examples.

Yoav Shapira

>-----Original Message-----
>From: Jeff Ousley []
>Sent: Monday, November 29, 2004 6:09 PM
>Subject: jdbc via ResourceLink in context.xml not working in 5.5.4
>I am moving from tomcat 5.0.28 to 5.5.4 and I'm having trouble getting
>my jdbc driver working in the new tomcat. I have a Resource set up
>under GlobalNamingResources in server.xml, just as I did in 5.0.28. I
>also have a corresponding conext xml file (named the same as my test
>app - jeff.xml) inside conf/Catalina/localhost which has a
>ResourceLink to the Resource. I've copied the jdbc .jar files to
>common/lib. As far as I can tell, everything is setup the exact same
>way it was in 5.0.28 yet I get this error when I try to access my test
>javax.servlet.ServletException: Unable to get connection, DataSource
>invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot
>create JDBC driver of class '' for connect URL 'null'"
>Can anyone think of what I'm missing or what I screwed up? It works
>just fine under 5.0.28. My next step is to rename my 5.0.28 install
>and set it up again from scratch to make sure I'm not missing
>something in my setup steps.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message