geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6300) DeploymentException: Geronimo ear plan contains modules that are not in the ear
Date Sun, 18 Mar 2012 13:52:40 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232276#comment-13232276
] 

Ivan commented on GERONIMO-6300:
--------------------------------

Could you also show the contents in the application.xml file ? From the ear structure, there
are two modules, one is a rar, another is an ejb, so one correct way is to configure both
of them in the application.xml, another is to configure none of them, then Geronimo should
analysis the ear and geronimo-application.xml to find the module lists of ear.
                
> 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

        

Mime
View raw message