geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-5541) web module cannot see the PU defined in ejb module when deploying a EAR
Date Thu, 19 Aug 2010 11:36:16 GMT

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

Forrest Xia updated GERONIMO-5541:
----------------------------------

    Attachment: jpa-ear-3.0-SNAPSHOT.ear

> web module cannot see the PU defined in ejb module when deploying a EAR
> -----------------------------------------------------------------------
>
>                 Key: GERONIMO-5541
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5541
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 3.0
>         Environment: ubuntu 8.04 x86-32
> sun jdk 1.6.0_20
>            Reporter: Forrest Xia
>         Attachments: jpa-ear-3.0-SNAPSHOT.ear
>
>
> Steps:
> 1. deploy the attached EAR, which is got from testsuite/enterprise-testsuite/jpa-tests
> 2. Then a deployment error happens like this:
> 2010-08-19 19:03:12,690 ERROR [DeploymentPortlet] The application was not deployed.
> At least one deployment problem:
> org.apache.geronimo.common.DeploymentException: At least one deployment problem:
> 	at org.apache.geronimo.common.DeploymentException.cleanse(DeploymentException.java:87)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:141)
> 	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:619)
> org.apache.geronimo.common.DeploymentException: No references found at deploy time for
query ?J2EEApplication=org.apache.geronimo.testsuite/jpa-ear/3.0-SNAPSHOT/ear,WebModule=web.war,j2eeType=PersistenceUnit,name=persistence/test-unit#org.apache.geronimo.persistence.PersistenceUnitGBean
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.checkForGBean(PersistenceRefBuilder.java:264)
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.findPersistenceUnitQuery(PersistenceRefBuilder.java:211)
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.buildNaming(PersistenceRefBuilder.java:119)
> 	at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:69)
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:672)
> 	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:414)
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:704)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
> 	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:619)
> Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: No matches for referencePatterns:
[?J2EEApplication=org.apache.geronimo.testsuite/jpa-ear/3.0-SNAPSHOT/ear,WebModule=web.war,j2eeType=PersistenceUnit,name=persistence/test-unit#org.apache.geronimo.persistence.PersistenceUnitGBean]
> 	at org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:548)
> 	at org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:505)
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.checkForGBean(PersistenceRefBuilder.java:257)
> 	... 20 more
> org.apache.geronimo.common.DeploymentException: No references found at deploy time for
query ?J2EEApplication=org.apache.geronimo.testsuite/jpa-ear/3.0-SNAPSHOT/ear,WebModule=web.war,j2eeType=PersistenceUnit,name=persistence/test-unit#org.apache.geronimo.persistence.PersistenceUnitGBean
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.checkForGBean(PersistenceRefBuilder.java:264)
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.findPersistenceUnitQuery(PersistenceRefBuilder.java:211)
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.buildNaming(PersistenceRefBuilder.java:169)
> 	at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:69)
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:672)
> 	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:414)
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:704)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
> 	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:619)
> Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: No matches for referencePatterns:
[?J2EEApplication=org.apache.geronimo.testsuite/jpa-ear/3.0-SNAPSHOT/ear,WebModule=web.war,j2eeType=PersistenceUnit,name=persistence/test-unit#org.apache.geronimo.persistence.PersistenceUnitGBean]
> 	at org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:548)
> 	at org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:505)
> 	at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.checkForGBean(PersistenceRefBuilder.java:257)
> 	... 20 more
> The same test can run in G 2.1.x server.

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


Mime
View raw message