[ https://issues.apache.org/jira/browse/GERONIMO-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022056#comment-13022056 ]
Shawn Jiang commented on GERONIMO-5912: --------------------------------------- 1, Please remove the invalid dead-loop dependecy in following DD. jms-mdb-ear-3.0-SNAPSHOT.ear\jms-resources.xml jms-mdb-ear-3.0-SNAPSHOT.ear\jms-mdb-ejb-3.0-SNAPSHOT.jar\META-INF\openejb-jar.xml 2, Remove the extra jars including jms-mdb-ear-3.0-SNAPSHOT.ear\activeio-core-3.1.2.jar jms-mdb-ear-3.0-SNAPSHOT.ear\activemq-core-5.4.2.jar jms-mdb-ear-3.0-SNAPSHOT.ear\activemq-protobuf-1.1.jar jms-mdb-ear-3.0-SNAPSHOT.ear\commons-net-2.0.jar jms-mdb-ear-3.0-SNAPSHOT.ear\geronimo-activemq-ra-3.0-SNAPSHOT.rar jms-mdb-ear-3.0-SNAPSHOT.ear\geronimo-j2ee-management_1.1_spec-1.0.1.jar jms-mdb-ear-3.0-SNAPSHOT.ear\kahadb-5.4.2.jar The sample's build script need to be updated too to make a better ear structure. > jms-mdb: Could not add resource adapter module gbean to context > --------------------------------------------------------------- > > Key: GERONIMO-5912 > URL: https://issues.apache.org/jira/browse/GERONIMO-5912 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: sample apps > Affects Versions: 3.0 > Environment: Windows XP SP3 x86 > sun jdk 1.6.0_23 > Geronimo build on 20110415 > Reporter: Jacky Liu > Assignee: Shawn Jiang > Priority: Minor > Labels: samples > Attachments: jms-mdb-ear-3.0-SNAPSHOT.ear > > > 1. start Geronimo v3.0 server > 2. cd %Geronimo Home%\bin in cmd > 3. input "deploy deploy ..\jms-mdb-ear-3.0-SNAPSHOT.ear" > 4. ERROR OCCURS! > org.apache.geronimo.common.DeploymentException: Unable to deploy > jms-mdb-ear-3.0-SNAPSHOT.ear: Could not add resource adapter module gbean to > context > > org.apache.geronimo.samples/jms-mdb-ear/3.0-SNAPSHOT/car?J2EEApplication=org.apache.geronimo.samples/jms-mdb-ear/3.0-SNAPSHOT/car,j2eeType=ResourceAdapterModule,name=geronimo-activemq-ra-3.0-SNAPSHOT.rar > at > org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) > at > org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) > at > org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) > at > org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:167) > at > org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) > at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at > org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > Since the whole jms-mdb package is larger than 10 MB, I only attached ear > package. If anyone wants to debug it, he or she may go to > "https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/javaee5/jms-mdb" > to check out the code first. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira