geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajan Mahadevan" <ra...@pobox.com>
Subject Manifest-skinny war problem
Date Mon, 10 Sep 2007 04:39:15 GMT
Hi,

I am a first time poster and I also seem to be having manifest classloader
issues.
I have created a simple ear file and the war manifest includes the following

Class-Path: lib/geronimo-ejb_3.0_spec-1.0.jar lib/geronimo-jsp_2.1_spec-
1.0-M1.jar lib/calculator-stateless-ejb-2.0-SNAPSHOT.jarlib/geronimo-servlet_2.5_spec-
1.1-M1.jar.
I have these jar files not in the Web-Inf\lib directory but in the ear's lib
directory at the root.
When I deploy the ear to geronimo 2.01 my deployment fails. However the same
ear deploys fine and works in glassfish.
Is this a bug?

I am pasting the relevant stack trace.

thanks and cheers

Rajan

Manifest class path entries must be a valid jar file (JAVAEE 5 Section
8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to
targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar
    looking at: calculator-stateless-war-2.0-SNAPSHOT.war    current
classpath: [WEB-INF/classes/, ../lib/geronimo-ejb_3.0_spec-1.0.jar,
../lib/geronimo-jsp_2.1_spec-1.0-M1.jar,
../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]    ignoring modules:
[calculator-stateless-ejb-2.0-SNAPSHOT.jar,
calculator-stateless-war-2.0-SNAPSHOT.war]
org.apache.geronimo.common.DeploymentException: Manifest class path
entries must be a valid jar file (JAVAEE 5 Section 8.2):
path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to
targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar
    looking at: calculator-stateless-war-2.0-SNAPSHOT.war    current
classpath: [WEB-INF/classes/, ../lib/geronimo-ejb_3.0_spec-1.0.jar,
../lib/geronimo-jsp_2.1_spec-1.0-M1.jar,
../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]    ignoring modules:
[calculator-stateless-ejb-2.0-SNAPSHOT.jar,
calculator-stateless-war-2.0-SNAPSHOT.war]
	at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:367)
	at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:286)
	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:332)
	at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.initContext(JettyModuleBuilder.java:322)
	at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$$FastClassByCGLIB$$1a00be84.invoke(<generated>)

Mime
View raw message