I'm not sure what your pom looks like, but I suspect you are missing
this key piece in the pom.xml of the EAR.

             <plugin>
                 <artifactId>maven-ear-plugin</artifactId>
                 <configuration>
                     <displayName>Geronimo Sample EAR for
jms-mdb-sample</displayName>
                     <description>Geronimo Sample EAR for
jms-mdb-sample</description>
                     <version>5</version>
                     <modules>
                       <rarModule>
                             <groupId>org.apache.geronimo.modules</groupId>
                             <artifactId>geronimo-activemq-ra</artifactId>

<bundleFileName>geronimo-activemq-ra-${geronimoVersion}.rar</bundleFileName>
                         </rarModule>

                       <ejbModule>
                             <groupId>org.apache.geronimo.samples</groupId>
                             <artifactId>jms-mdb-sample-ejb</artifactId>

<bundleFileName>jms-mdb-sample-ejb-${version}.jar</bundleFileName>
                         </ejbModule>

                         <webModule>
                             <groupId>org.apache.geronimo.samples</groupId>
                             <artifactId>jms-mdb-sample-war</artifactId>
                             <contextRoot>/order</contextRoot>

<bundleFileName>jms-mdb-sample-war-${version}.war</bundleFileName>
                         </webModule>
                     </modules>
                 </configuration>
             </plugin>

To really test it, you'll probably want to pull down the sample
application (trunk) and look at the poms.

Hope this helps,
Viet

On Fri, May 9, 2008 at 12:47 AM, Spastik <[EMAIL PROTECTED]> wrote:
>
> I tried to merge
>
> http://cwiki.apache.org/GMOxDOC20/very-simple-entity-ejb-example.html
>
> and
>
> http://cwiki.apache.org/GMOxDOC20/jms-and-mdb-sample-application.html
>
> because I want to deploy both a  database pool and JMS Resource.
> Maven creats the Ear just fine but when i unzipped it to check
> geronimo-activemq is missing. Is is because I have more than one
> module in the deployment plan ?
>
>
>
>
> vhnguy2 wrote:
>>
>> Hello,
>>
>> Does your EAR contain the two modules that you specified in the DD (ie
>> tranql-connector and geronimo-activemq)? You need to have those
>> RAR/JARs and the xml files residing in the top-level directory of your
>> EAR.
>>
>> There are sample applications that shows how to do this (e.g.
>> http://cwiki.apache.org/GMOxDOC21/jms-and-mdb-sample-application.html)
>>
>> Hope this helps,
>> Viet
>>
>>
>
> --
> 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-tp17141114s134p17141333.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Reply via email to