You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick Yoesting <ry...@mac.com> on 2002/06/17 19:25:27 UTC

Manager doesn't reload classes under $CATALINA_HOME/classes

I'm running Tomcat 4.0.3 with Apache/mod_jk on Linux. Here's the 
situation...

I've got two webapps (accessed via virtual hosts) that use a common code 
base, so I've installed all unpacked classes under 
$CATALINA_HOME/classes and all jars under $CATALINA_HOME/lib as 
specified in the CLASSLOADER HOW-TO.

The Manager app commands install, stop, start, remove, list, sessions 
all work as expected. However, the reload command doesn't actually 
reload newly compiled classes in $CATALINA_HOME/classes. I get the "OK - 
Reloaded application at context path /" message, but the old classes 
remain in use until Tomcat is restarted.

Any thoughts or suggestions?

Rick


PS -- Here's the <Engine> portion of server.xml in case anyone wants to 
see it:
<Engine className="org.apache.catalina.core.StandardEngine" 
name="Apache-mod_jk"
   		defaultHost="localhost" debug="99"
		appBase="/usr/local/tomcat/saxonapps">

  <Realm className="org.apache.catalina.realm.MemoryRealm" />

   <Host name="dev.saxon1.com" debug="4" unpackWARs="true">
  	<Context path="" docBase="/usr/local/tomcat/saxonapps/saxon" 
debug="0" />
  	<Context path="/manager" docBase="/usr/local/tomcat/webapps/manager"
			debug="4" privileged="true" />
  </Host>

   <Host name="dev.saxon2.com" debug="4" unpackWARs="true">
 	<Context path="" docBase="/usr/local/tomcat/saxonapps/saxon2" 
debug="0" />
  	<Context path="/manager" docBase="/usr/local/tomcat/webapps/manager"
			debug="4" privileged="true" />
  </Host>

</Engine>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>