tomcat-users mailing list archives

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

Hi,
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 http://www.yoavshapira.com
 

>-----Original Message-----
>From: Jeff Ousley [mailto:jousley@gmail.com]
>Sent: Monday, November 29, 2004 6:09 PM
>To: tomcat-user@jakarta.apache.org
>Subject: jdbc via ResourceLink in context.xml not working in 5.5.4
>
>Hello,
>
>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
>page:
>
>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'"
>org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCon
text
>Impl.java:845)
>
>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.
>
>Help!!!
>
>thanks,
>-jeff
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message