Hi Chuck,
That means the <Resource> applies to all your webapps; is that what you
> want?
>
Yep, we only have one webapp and it's deployed to our appliance :)
> > 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.
>
I've been looking for that, unfortunately all I see is non-Tomcat code (e.g.
Class.forName, etc.).
I'm working on two things:
1) getting JMX running on Tomcat so I can connect w/jconsole. I've been
following the 6.0 "monitoring" guide although jconsole says it can't connect
and netstat doesn't report anyone listening on the port I specified.
2) Instrumenting the Tomcat source with debug statements to see what the
state of the bootstrap classloader Konstantin pointed out is. Although
that's added to JMX so if (1) works then I might not need this step :)
> Any chance this is a permissions problem?
>
Could be! How do you mean? :)
Rob