Hi everyone,
We have a custom resource defined in context.xml:
<Resource name="jdbc/postgres" scope="Shareable" type="javax.sql.DataSource"
...
driverClassName="org.postgresql.Driver"/>
We prefer to locate the postgres jar file in CATALINA_BASE, so we modified
this line in catalina.config
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,*
${catalina.base}/lib,${catalina.base}/lib/*.jar*
We made this change in both out catalina.properties and
catalina.properties.development files.
Unfortunately when we use -Dcatalina.config to specify
catalina.properties.development, the postgres.jar file is no longer found
when Tomcat attempts to create a connection.
I know that our catalina.properties.development file is being used because
other properties in that file are used (i.e. ${https.port} is used in
server.xml and Tomcat does use that correct value).
Any ideas? Is there a way for me to dump the value of common.loader after
Tomcat starts to be sure it's at least seeing the value from our config
file?
Thanks!
Rob