Hi Andreas,

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach
> Sent: vendredi 23 juin 2006 07:43
> To: [email protected]
> Subject: Problem with Cargo, Starting a Container
> 
> Hi everyone,
> 
> Vincent asked me to ask this question on the list, so here I am:

Err... I meant the Cargo list as this is a cargo question ;-)

Thanks
-Vincent

> 
> I followed the "Starting and stopping a container" tutorial, but it does
> not work. "mvn cargo:deploy" deploys as expected (copies my EJB artifact
> to the deploy directory), but "mvn cargo:start" deletes the artifact
> again, then starts the container.
> 
> What is wrong with my POM?
> 
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>       <modelVersion>4.0.0</modelVersion>
> 
>       <groupId>ejbGroupId</groupId>
>       <artifactId>ejbArtifactId</artifactId>
>       <packaging>ejb</packaging>
> 
>       <build>
>               <plugins>
>                       <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-ejb-plugin</artifactId>
>                               <configuration>
>                                       <archive>
>                                               <manifest>
> 
>       <addClasspath>true</addClasspath>
>                                               </manifest>
>                                       </archive>
>                               </configuration>
>                       </plugin>
>                       <plugin>
>                               <groupId>org.codehaus.cargo</groupId>
>                               <artifactId>cargo-maven2-plugin</artifactId>
>                               <configuration>
>                                       <container>
>
<containerId>jboss3x</containerId>
>                                               <home>${jboss3x.dir}</home>
>                                               <output>target/jboss-
> output.log</output>
>                                       </container>
>                                       <configuration>
>
<home>target/jboss-config</home>
>                                               <properties>
> 
>       <cargo.rmi.port>1100</cargo.rmi.port>
> 
>       <cargo.servlet.port>8081</cargo.servlet.port>
> 
>       <cargo.logging>high</cargo.logging>
>                                               </properties>
>                                               <deployables>
>                                                       <deployable>
> 
>       <groupId>ejbGroupId</groupId>
> 
>       <artifactId>ejbArtifactId</artifactId>
>
<type>ejb</type>
>                                                       </deployable>
>                                               </deployables>
>                                       </configuration>
>                               </configuration>
>                       </plugin>
>               </plugins>
>       </build>
> 
>       <dependencies>
>               [...]
>       </dependencies>
> 
> </project>
> 
> See also:
> 
> http://jira.codehaus.org/browse/CARGO-344?page=comments#action_67926
> 
> Regards,
> 
> Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


        

        
                
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to