-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Dharamshila,
On 15.03.11 um 11:10, Dharamshila Khandelwal wrote: > I have my webapps's context define in > $CATALINA_HOME/conf/Catalina/localhost. > The application is not reading the datasource, I get the following error in > catalina logs: > > Unhandled SQL Exception: > org.apache.tomcat.dbcp.dbcp.SQLNestedException: *Cannot > create JDBC driver of class '' for connect URL 'null' > * > The connect URL is defined in the xml file. > > Is there any setting that I need to do specific to Tomcat 6 so that it reads > the xml file correctly? Yes, you should use a correct Ressource definition syntax, see: <http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource_Definitions>. Yours looks like an ancient Tomcat 4.1 configuration. You should remove the path attribute, check the docBase attribute, and change your DB passwords. Regards, - -- Thomas Freitag -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1/g+kACgkQGE5pHr3PKuU+yQCgiTAtg/q7O6E/jEQLssIyOmuG PD8An2KNK49g78o9xqDeJJAEYQhzXkjL =Aipy -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org