Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
JVM Version 1.4.2_01-b06
JVM Vendor Sun Microsystems Inc.
OS Name Linux
OS Version 2.4.20-8
OS Architecture i386
Description
The Web deployer does not pick up the dependency jars listed in geronimo-jetty.xml.
Reproduced by installing Axis using this geronimo-jetty.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/web/jetty"
configId="your/domain/name/j2eetutorialhelloservice"
parentId="org/apache/geronimo/Server">
<context-root>/j2eetutorialhelloservice</context-root>
<context-priority-classloader>false</context-priority-classloader>
<dependency>
<uri>axis/jars/activation.jar</uri>
<uri>axis/jars/commons-logging.jar</uri>
<uri>axis/jars/saaj.jar</uri>
<uri>axis/jars/axis-ant.jar</uri>
<uri>axis/jars/jaxrpc.jar</uri>
<uri>axis/jars/wsdl4j.jar</uri>
<uri>axis/jars/axis.jar</uri>
<uri>axis/jars/log4j-1.2.8.jar</uri>
<uri>axis/jars/xmlsec.jar</uri>
<uri>axis/jars/commons-discovery.jar</uri>
<uri>axis/jars/mail.jar</uri>
</dependency>
</web-app>
Workarounds :
1. Put the libraries in the WEB-INF/lib directory.
2. Create a pure GBean configuration (like server-plan.xml) which just contained these dependencies and make your WAR's parent config that rather than the o/a/g/Server one.