You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by ji...@apache.org on 2004/06/02 17:36:53 UTC
[jira] Closed: (GERONIMO-236) WAR deployer not getting the dependency classpath right
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-236
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-236
Summary: WAR deployer not getting the dependency classpath right
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Apache Geronimo
Components:
deployment
web
Fix Fors:
1.0-M2
Assignee: Dain Sundstrom
Reporter: Philip Mark Donaghy
Created: Tue, 18 May 2004 8:58 AM
Updated: Wed, 2 Jun 2004 8:36 AM
Environment: 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.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira