Re: Tomcat 5.5 class loader question.

2006-08-23 Thread David Smith
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 file

Re: Tomcat 5.5 class loader question.

2006-08-23 Thread Mikolaj Rydzewski
Borut Hadžialić wrote: Jira has a set of jar files that contain dependencies, that are not included in Jira's /WEB-INF/lib directory. Jira manual states that these jars should be copied to CATALINA_HOME/common/lib directory. When those files are copied to CATALINA_HOME/common/lib, Jira works fine

Re: Tomcat 5.5 class loader question.

2006-08-23 Thread Borut Hadžialić
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 sev

Re: Tomcat 5.5 class loader question.

2006-08-22 Thread Mark Thomas
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? Prob

Tomcat 5.5 class loader question.

2006-08-22 Thread Borut Hadžialić
Hello, I have a question related to class loading in tomcat. http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Tomcat documentation says this: *** Therefore, from the perspective of a web application, class or resource loading looks in the following repositories, in this order: Bo