> From: Rob S. [mailto:[email protected]]
> Subject: Re: [6.0.20] Using -Dcatalina.config breaks our databases
> resources
>
> The global one in the conf directory.
That means the <Resource> applies to all your webapps; is that what you want?
> DataSource ds = (DataSource) new
> InitialContext().lookup("java:comp/env/jdbc/postgres");
> ds.getConnection();
>
> org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver
> class 'org.postgresql.Driver'
> at
> org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource
> (BasicDataSource.java:1136)
> at
> org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection
> (BasicDataSource.java:880)
There should be an additional stack trace related to the error that has more
specific information in it.
Any chance this is a permissions problem?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]