tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Hemminger <>
Subject Finding config files in Tomcat 4.0/Catalina
Date Wed, 05 Sep 2001 19:39:14 GMT
What is the proper way to find configuration files in Tomcat 4.0?

With Tomcat-3.x our server used java.lang.getResourceAsStream to retrieve
the configuration files from any location defined in the CLASSPATH.  A
common method was to put configuration files in $TOMCAT_HOME/classes.

This doesn't work on 4.0 for two reasons. First, it appears to reset the
CLASSPATH when started, second the default class loader behaviour seems to
have changed.

Stephen Hemminger 
InterTrust Technologies 

View raw message