I have the following deployment plan when I deploy the ear i get the
exception below. 
The connectors work stand alone but I need them to get deployed together
from the 
same application any ideas ?


<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.2";>
  <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2";>
    <moduleId>
      <groupId>org.apache.geronimo.samples</groupId>
      <artifactId>MyPhonebook</artifactId>
      <version>1.0</version>
      <type>ear</type>
    </moduleId>
  </environment>
   <module>
        <connector>tranql-connector-ra-1.3.rar</connector>
        <alt-dd>PhoneBookPool.xml</alt-dd>
</module> 
<module>
        <connector>geronimo-activemq-ra-2.0-SNAPSHOT.rar</connector>
        <alt-dd>JMSQueue.xml</alt-dd>
</module>
</application>



Geronimo ear plan contains modules that aren't in the ear: true
org.apache.geronimo.common.DeploymentException: Geronimo ear plan contains
modules that aren't in the ear: true
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:893)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:402)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:295)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:226)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
        at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
        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:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
        at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
        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)


-- 
View this message in context: 
http://www.nabble.com/Problem-with-Deployment-plan-%28Geronimo-ear-plan-contains-modules-that-aren%27t-in-the-ear%3A-true%29-tp17141114s134p17141114.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to