On Wed, 2008-03-05 at 11:18 -0800, Ofer Matan wrote:
> Tomcat 6:   %CATALINA_HOME/lib
> 
> Reference: http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html 

Thanks for looking into this, Ofer!

I notice that page you linked to in the Tomcat 6 manual mentions that
application classes should not be placed on the Common loader classpath.

Since I was wondering about a solution that would also work for the
chart of accounts config, I stopped in on the #tomcat IRC channel the
other day to ask how we should approach this. Perry Nguyen
recommended--for Tomcat 6--modifying the "shared.loader" property in
$CATALINA_HOME/conf/catalina.properties as follows:

before:
  shared.loader=

after:
  shared.loader=shared/classes,shared/lib/*.jar

If this is an acceptable Tomcat customization, it would allow us to
recommend (or build into the installer!) the same "on the app server
classpath" location to users of Tomcat 4, 5, and 6. I've tested it a bit
and it seems to work.

-- 
Adam Monsen


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to