tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: something wrong creating datasource after war deployement
Date Mon, 08 Jan 2007 11:32:50 GMT
Get the full stacktrace of exception to know when this happen. If both
install are same, maybe one is on a server that has no access to the db
(check the db security settings).

Also, what did you compare with windiff? The webapp directories or the
full tomcat install directores? Your META-INF/context.xml should have
been copied by tomcat to conf/Catalina/<hostname>/<webappname>.xml Check
those are correct.


En l'instant précis du 01/08/07 12:07, Arnaud MERGEY s'exprimait dans
toute sa noblesse:
> Hi
> something strange appends with an application
> On tomcat 5.5.20 (same behavior with tomcat 5.5.17)
>
> I deploy an application copying an unpacked war directory into webapps
> directory. I add a datasource updating the META-INF/context.xml and
> WEB-INF/web.xml like tomcat how-to. All works perfectly, no problems.
>
> In another tomcat I copy the war of the same application in the
> webapps, the war is unpacked . I add the datasource updating the
> META-INF/context.xml and WEB-INF/web.xml and I can't use this
> datasource : "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot
> create JDBC driver of class '' for connect URL 'null'"
>
> witth windiff I compare the two directory and they are identical, the
> only differences is in one the webapps directry has only the unpacked
> directory and the other has unpacked and war directory.
>
> I need help to understand, thanks
> Arnaud
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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


Mime
View raw message