tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Ousley <jous...@gmail.com>
Subject jdbc via ResourceLink in context.xml not working in 5.5.4
Date Mon, 29 Nov 2004 23:09:09 GMT
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(PageContextImpl.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


Mime
View raw message