tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5391] New: - Can't change the ClassLoader for WebappLoader using loaderClass
Date Wed, 12 Dec 2001 20:15:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5391>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5391

Can't change the ClassLoader for WebappLoader using loaderClass

           Summary: Can't change the ClassLoader for WebappLoader using
                    loaderClass
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: inhuman@iki.fi


The documentation says that it is possible to change the WebappLoader's default
class loader org.apache.catalina.loader.WebappClassLoader using loaderClass
attribute in Loader config. e.g:
<Loader className="org.apache.catalina.loader.WebappLoader"
loaderClass="MyClassLoader" /> 

However, this has no effect. I'm not sure but the reason might be in
WebappLoader's code. The method setLoaderClass does not take any arguments:

/**
  * Set the ClassLoader class name.
  *
  * @param loaderClass The new ClassLoader class name
  */
  public void setLoaderClass() {
     this.loaderClass = loaderClass;
  }

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message