If you setup your Postgres SQL database as a JNDI resource in the
context xml file, Tomcat itself will need access to the driver class.
Hence the need to place such drivers in common/lib.
--David
Borut Hadžialić wrote:
Why would Catalina classloader need to see application specific jar
files?
On 8/23/06, Mark Thomas <[EMAIL PROTECTED]> wrote:
Borut Hadžialić wrote:
> However, when we move those Jira dependencies from
> $CATALINA_HOME/common/lib/ to $CATALINA_BASE/shared/lib/
> Jira starup fails - it throws several ClassDefNotFoundException
> (for org.postgresql.Driver and other classes)
>
> Does anyone know why is this happening?
Probably because the Catalina classloader also needs to be able to see
those classes. If they are in shared, they are not visible to the core
Tomcat code.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]