Below are some snippets from my resin.xml. Inside the ord.weblib directory we 
have log4j-1.2.14.jar. For every Resin 4 version up through 4.0.12 this seems 
to load the log4j library into the classpath for all of my web applications. 
However, in 4.0.13 I get

java.lang.NoClassDefFoundError: Lorg/apache/log4j/Logger;
Should this work in 4.0.13? Is it a bug or a new restriction? How can I load 
common jars into each web application without actually including them in the 
web application (e.g. WEB-INF/lib)?

<resin xmlns=""; 

<resin:set var="ord.root" value="/usr/ordinate/www" />
<resin:set var="ord.weblib" value="${ord.root}/lib" />



            <multipart-form enable="true" />

               <!-- adds all .jar files under the lib directory -->
               <library-loader path="${ord.weblib}" />

Matthew Serrano - Director of Engineering
Pearson Knowledge Technologies - Ordinate Corporation
299 S. California Ave Suite 300
Palo Alto, CA 94306
650 470 3600
650 470 3533 (direct)

resin-interest mailing list

Reply via email to