geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Manifest-skinny war problem
Date Mon, 10 Sep 2007 05:51:37 GMT
Are you 100% sure that you put your ejb module under lib as well as  
in the root of the ear?  If so, why?  If not, try removing everything  
from the war manifest classpath.

You don't need to bundle spec jars with your app, they are in the app  
server already.

thanks
david jencks

On Sep 9, 2007, at 9:39 PM, Rajan Mahadevan wrote:

> 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.jar lib/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.getCompleteManifestCl 
> assPath
> (DeploymentContext.java:367)
> 	at  
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestCl 
> assPath(DeploymentContext.java:286)
> 	at  
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicIni 
> tContext
> (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