You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lu Jiang (JIRA)" <ji...@apache.org> on 2010/05/13 08:30:42 UTC

[jira] Updated: (GERONIMO-5304) Could not add jar to app client library classpath

     [ https://issues.apache.org/jira/browse/GERONIMO-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lu Jiang updated GERONIMO-5304:
-------------------------------

    Attachment: magicgball-corba-nosec-plan.xml
                magicGball-ear-2.1.1.4.ear

> Could not add jar to app client library classpath
> -------------------------------------------------
>
>                 Key: GERONIMO-5304
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5304
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>         Environment: OS:win xp
> JDK:1.6
> Geronimo build:3.0-SNAPSHOT 2010,5.6 build
>            Reporter: Lu Jiang
>         Attachments: magicgball-corba-nosec-plan.xml, magicGball-ear-2.1.1.4.ear
>
>
> I tried to deploy a sample magicGball.ear on GERONIMO 3.0.
> The structure of this ear is:
> --magicGball.ear
>    ----magicGball-client.jar
>    ----magicGball-ejb.jar
>    ----magicGball-web.war
> The module tag in appliaction.xml is defined as follows
> <module>
>     <web>
>       <web-uri>magicGball-web.war</web-uri>
>       <context-root>/magicGball</context-root>
>     </web>
>   </module>
>   <module>
>     <ejb>magicGball-ejb.jar</ejb>
>   </module>
>   <module>
>     <java>magicGball-client.jar</java>
>   </module>
> However ,the application failed to be deployed.
> the error in log is as follows:
> 2010-05-13 13:33:39,805 ERROR [DeploymentPortlet] The application was not deployed.
> Could not add to app client library classpath: WEB-INF/classes/
> org.apache.geronimo.common.DeploymentException: Could not add to app client library classpath: WEB-INF/classes/
> 	at org.apache.geronimo.client.builder.AppClientModuleBuilder.installModule(AppClientModuleBuilder.java:586)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:602)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
> 	at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
> 	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> 	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: Jar entry does not exist: jarFile=D:\g30\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer219612648671192750.tmpdir\magicGball-ear-2.1.1.4.ear, path=WEB-INF/classes/
> 	at org.apache.geronimo.kernel.util.NestedJarFile.<init>(NestedJarFile.java:51)
> 	at org.apache.geronimo.client.builder.AppClientModuleBuilder.installModule(AppClientModuleBuilder.java:583)
> 	... 13 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.