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

Forrest Xia updated GERONIMO-5984:
----------------------------------

    Attachment: PlantsByWebsphereEAR-3.0.0.0.ear

> Deployment failed when java ee application module has reference to another 
> util lib which is packaged in the EAR as well
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5984
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5984
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>         Environment: Oracle jdk 1.6.0_23
> Ubuntu 10.04
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>         Attachments: PlantsByWebsphereEAR-3.0.0.0.ear
>
>
> 1. Start the geronimo server
> 2. Deploy the attached sample application with its deployment plan.
> An exception is like this:
>       The application was not deployed.
> The application was not deployed.
> com/ibm/websphere/samples/pbwjpa/BackOrder
> java.lang.NoClassDefFoundError: com/ibm/websphere/samples/pbwjpa/BackOrder
>       at java.lang.Class.getDeclaredMethods0(Native Method)
>       at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>       at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>       at java.lang.Class.getMethods(Class.java:1410)
>       at 
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.processApplicationExceptions(AnnotationDeployer.java:1568)
>       at 
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1120)
>       at 
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:691)
>       at 
> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:240)
>       at 
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:235)
>       at 
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:661)
>       at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:879)
>       at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:806)
>       at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:721)
>       at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:707)
>       at 
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:659)
>       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
>       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       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:872)
>       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:662)
> Caused by: java.lang.ClassNotFoundException: 
> com.ibm.websphere.samples.pbwjpa.BackOrder
>       at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
>       at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
>       at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
>       at 
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>       ... 28 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to