Hi

I tried Tomcat 8.0.15 and the latest 8 svn to use ParallelWebappClassLoader.

>From reading [1] I get the impression that the following inside
<Server> in server.xml or inside <Context> in context.xml should be
enough.

<Loader
 loaderClass="org.apache.catalina.loader.ParallelWebappClassLoader"/>

However Tomcat keeps using
org.apache.catalina.loader.WebappClassLoader which is not parallel
capable.

Looking at the code I have a hard time figuring out how it's supposed to work
WebappLoader.loaderClass is initialized to WebappClassLoader and never
set to anything else.
Also StandardContext.startInternal() hard codes the loader class to
WebappLoader so I wonder whether setting className would also be
ignored.

 [1] https://tomcat.apache.org/tomcat-8.0-doc/config/loader.html

Cheers
Philippe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to