Hi Vincent thx for your help!

* So... for now i can´t deploy (copy my ear) from my machine to a remote
one, using the Jboss remote deployer that is currently implemented in cargo
plugin?

* About the cargo´s plugin version i already uses Cargo 0.8 and the maven2
plugin v0.2.

* About the mailing list, i´ll enjoy, thx.

Regards,
Leo


2006/5/25, Vincent Massol <[EMAIL PROTECTED]>:

Hi Leo,

* Codehaus has been down for the past week or so due to some outage. It's
gradually coming back. Mailing lists are still an issue but the site
should
be ok now.

* The Jboss remote deployer that is currently implemented for jboss
doesn't
support copying a deployable remotely so your deployable has to exist on
the
remote machine file system I believe (we're just using the JBoss JMX
deployer which does it this way - If you know of a better way please let
us
know as we're always happy to improve).

* The <cargo.hostname> property's value is not correct below. It should be
the host name of your remote machine only. No path, no protocol.

* Then you must use Cargo 0.8 and the maven2 plugin v0.2 as there was a
bug
in v0.1 for deployments.

Thanks
-Vincent

PS: The cargo list is back on now and you can subscribe by using the new
codehaus interface: http://xircles.codehaus.org/manage_email.

> -----Original Message-----
> From: Leo L [mailto:[EMAIL PROTECTED]
> Sent: jeudi 25 mai 2006 21:46
> To: Maven Users List
> Subject: Re: [M2] Remote deploy... pom.xml example configuration
>
> Exactly wayne!
>
> I´m using the cargo to copy my EAR to a remote server, but i get an
fatal
> error. I tried to join the cargo mailing list, but i can´t access the
web
> page from de cargo site. I thought the subscribe e-mail was
> [EMAIL PROTECTED] but i received a daemon mail from de
> codehaus.org site.
>
> In the documentation i didn´t see if i must configure the remote machine
> in
> the settings.xml or if i can configure in the pom.xml.
>
> Anyway my pom´s configuration is like this:
> ...
>      <plugin>
>         <groupId>org.codehaus.cargo</groupId>
>         <artifactId>cargo-maven2-plugin</artifactId>
>
>         <executions>
>           <execution>
>             <id>verify-deploy</id>
>             <phase>install</phase>
>             <goals>
>               <goal>deployer-deploy</goal>
>             </goals>
>           </execution>
>           <execution>
>             <id>clean-undeploy</id>
>             <phase>pre-clean</phase>
>             <goals>
>               <goal>deployer-undeploy</goal>
>             </goals>
>           </execution>
>         </executions>
>
>         <configuration>
>           <!-- Container Configuration -->
>           <container>
>             <containerId>jboss4x</containerId>
>             <type>remote</type>
>           </container>
>
>              <configuration>
>                 <type>runtime</type>
>                 <properties>
>                   <cargo.hostname
> >scp:extssh:[EMAIL PROTECTED]:/opt/jboss-4.0.1sp1
> /server/default</cargo.hostname>
>                   <cargo.remote.username>user</cargo.remote.username>
>                   <cargo.remote.password
>password</cargo.remote.password>
>                 </properties>
>              </configuration>
>
>    <!-- Deployer and Deployables configuration -->
>            <deployer>
>                <type>remote</type>
>               <deployables>
>                 <deployable>
>                   <groupId>br.com.myApp</groupId>
>                   <artifactId>myAppEAR</artifactId>
>                   <type>ear</type>
>                </deployable>
>              </deployables>
>            </deployer>
>         </configuration>
>       </plugin>
>
> ...
>
> </plugins>
>
> </build>
>
> The fatal error that i received:
> [INFO] [cargo:deployer-deploy {execution: verify-deploy}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Not supported
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.codehaus.cargo.container.ContainerException: Not supported
>         at
> org.codehaus.cargo.container.spi.deployer.AbstractDeployer.deploy
> (Ab
> tractDeployer.java:56)
> ...
>
> It seems that i must configure jboss4x in someWhere that i don´t know...
> Any clue???
>
> Regards
>
>
>
> 2006/5/25, Wayne Fay <[EMAIL PROTECTED]>:
> >
> > In the Maven world, deploy means "copy my artifact to a Maven repo".
> >
> > Are you talking about the J2EE meaning of the word "deploy" ie "deploy
> > my webapp into JBoss"? If so, look at the Cargo website and their M2
> > plugin, it is also well-documented.
> >
> > Wayne
> >
> > On 5/25/06, Leo L <[EMAIL PROTECTED]> wrote:
> > > Hi!
> > >
> > > I need help to:
> > > How can I configure to deploy my app remotelly?
> > > Which plugin is best for the task...
> > > Any pom´s example...
> > >
> > > Any help would be great...
> > >
> > > Regards,
> > > Leo
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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