[
https://issues.apache.org/jira/browse/GERONIMO-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Chauvet updated GERONIMO-6300:
----------------------------------------
Description:
Hello,
I tried to add a JMS connector in my EAR project by using the JMS Resource
Wizard :
1) Copy and paste the plan to a file
2) Save the plan file to the top level of your EAR
3) Copy the RAR file from
\repository\org\apache\geronimo\modules\geronimo-activemq-ra\3.0-beta-1\geronimo-activemq-ra-3.0-beta-1.rar
to the top level of your EAR
4) Create a META-INF/geronimo-application.xml file in your EAR that has a
module entry like this (substituting the correct RAR file name and plan file
name)
Content of my EAR:
|- lib
|- META-INF
| |- application.xml
| |- geronimo-application.xml
| |- MANIFEST.MF
|- geronimo-activemq-ra-3.0-beta-1.rar
|- myconfig-jms.xml
|- mybeans-ejb-1.4.0.jar
Partial content of geronimo-application.xml :
=================================================================================
<app:module>
<app:connector>geronimo-activemq-ra-3.0-beta-1.rar</app:connector>
<app:alt-dd>myconfig-jms.xml</app:alt-dd>
</app:module>
When I deployed my EAR file (with Geronimo Console website), I obtain :
=================================================================================
The application was not deployed.
Geronimo ear plan contains modules that are not in the ear:
[geronimo-activemq-ra-3.0-beta-1.rar]
org.apache.geronimo.common.DeploymentException: Geronimo ear plan contains
modules that are not in the ear: [geronimo-activemq-ra-3.0-beta-1.rar]
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:1040)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:464)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:327)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:236)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:883)
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(Unknown Source)
was:
Hello,
I tried to add a JMS connector in my EAR project by using the JMS Resource
Wizard :
1) Copy and paste the plan to a file
2) Save the plan file to the top level of your EAR
3) Copy the RAR file from
\repository\org\apache\geronimo\modules\geronimo-activemq-ra\3.0-beta-1\geronimo-activemq-ra-3.0-beta-1.rar
to the top level of your EAR
4) Create a META-INF/geronimo-application.xml file in your EAR that has a
module entry like this (substituting the correct RAR file name and plan file
name)
Content of my EAR:
#
|- lib
|- META-INF
| +
| |- application.xml
| |- geronimo-application.xml
| |- MANIFEST.MF
|- geronimo-activemq-ra-3.0-beta-1.rar
|- myconfig-jms.xml
|- mybeans-ejb-1.4.0.jar
Partial content of geronimo-application.xml :
=================================================================================
<app:module>
<app:connector>geronimo-activemq-ra-3.0-beta-1.rar</app:connector>
<app:alt-dd>myconfig-jms.xml</app:alt-dd>
</app:module>
When I deployed my EAR file (with Geronimo Console website), I obtain :
=================================================================================
The application was not deployed.
Geronimo ear plan contains modules that are not in the ear:
[geronimo-activemq-ra-3.0-beta-1.rar]
org.apache.geronimo.common.DeploymentException: Geronimo ear plan contains
modules that are not in the ear: [geronimo-activemq-ra-3.0-beta-1.rar]
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:1040)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:464)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:327)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:236)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:883)
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(Unknown Source)
> DeploymentException: Geronimo ear plan contains modules that are not in the
> ear
> -------------------------------------------------------------------------------
>
> Key: GERONIMO-6300
> URL: https://issues.apache.org/jira/browse/GERONIMO-6300
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-beta-1
> Environment: Windows XP 32bits
> Reporter: Guillaume Chauvet
> Labels: connector, deployment, ear
>
> Hello,
> I tried to add a JMS connector in my EAR project by using the JMS Resource
> Wizard :
> 1) Copy and paste the plan to a file
> 2) Save the plan file to the top level of your EAR
> 3) Copy the RAR file from
> \repository\org\apache\geronimo\modules\geronimo-activemq-ra\3.0-beta-1\geronimo-activemq-ra-3.0-beta-1.rar
> to the top level of your EAR
> 4) Create a META-INF/geronimo-application.xml file in your EAR that has a
> module entry like this (substituting the correct RAR file name and plan file
> name)
> Content of my EAR:
> |- lib
> |- META-INF
> | |- application.xml
> | |- geronimo-application.xml
> | |- MANIFEST.MF
> |- geronimo-activemq-ra-3.0-beta-1.rar
> |- myconfig-jms.xml
> |- mybeans-ejb-1.4.0.jar
> Partial content of geronimo-application.xml :
> =================================================================================
> <app:module>
> <app:connector>geronimo-activemq-ra-3.0-beta-1.rar</app:connector>
> <app:alt-dd>myconfig-jms.xml</app:alt-dd>
> </app:module>
> When I deployed my EAR file (with Geronimo Console website), I obtain :
> =================================================================================
> The application was not deployed.
> Geronimo ear plan contains modules that are not in the ear:
> [geronimo-activemq-ra-3.0-beta-1.rar]
> org.apache.geronimo.common.DeploymentException: Geronimo ear plan contains
> modules that are not in the ear: [geronimo-activemq-ra-3.0-beta-1.rar]
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:1040)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:464)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:327)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:236)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
> at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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:883)
> 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(Unknown Source)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira