Hello, I got a datasource definition at server.xml and the web application gets connection to DB by getting datasource object from JNDI. I defined the <Resource> between <GlobalNamingResources> tags. And I defined <ResourceLink> from <Context> definition.
This configuration works perfectly with Tomcat 4.1. I use MySQL 3.23 as a database server. But when application is plugged to Apache Web Server by using org.apache.catalina.connector.warp.WarpConnector connector, I got following exception: Cannot load JDBC driver class 'null' java.lang.NullPointerException It seems like Apache + Tomcat 4 configuration doesn't get the DataSource description and its parameters from server.xml. MySQL drivers are placed both in TOMCAT_HOME/common/lib and web application's WEB_INF/lib directory. What can be the cause for the exception I mentioned above? Any comments? Br, tuna --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]