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
WEB-INF/web.xml:14: com.caucho.server.dispatch.ServletConfigImpl.setServletClass(): 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="http://caucho.com/ns/resin" xmlns:resin="urn:java:com.caucho.resin"> <resin:set var="ord.root" value="/usr/ordinate/www" /> <resin:set var="ord.weblib" value="${ord.root}/lib" /> ... <host-default> <web-app-default> <multipart-form enable="true" /> <class-loader> <!-- adds all .jar files under the lib directory --> <library-loader path="${ord.weblib}" /> </class-loader> _______________________________________________________ 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) mserr...@pearsonkt.com www.ordinate.com www.pearson.com
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest