geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Cargo and G (was RE: offline deployment with deploy distribute?)
Date Mon, 13 Feb 2006 22:48:08 GMT


> -----Original Message-----
> From: Prasad Kashyap [mailto:goyathlay.geronimo@gmail.com]
> Sent: lundi 13 février 2006 23:08
> To: Vincent Massol
> Cc: dev@geronimo.apache.org
> Subject: Re: Cargo and G (was RE: offline deployment with deploy
> distribute?)
> 
> Vincent,
> 
> That's excellent. I guess the Container support on the Cargo home site
> is not updated yet. That's fine.

Yep we're a bit late. BTW if you want to use the latest cargo snapshots you
can get them from the Cargo m2 repository on: 
http://cargo.codehaus.org/dist2-snapshot/

> So similar to Tomcat 5.5.x container support, does v0.8 impose a
> requirement of JDK 1.5 while using goals for Jetty 5.x ?

AFAIK Jetty 5.x runs with JDK 1.4.

-Vincent

> On 2/13/06, Vincent Massol <vmassol@pivolis.com> wrote:
> > Hi Prasad,
> >
> > > -----Original Message-----
> > > From: Prasad Kashyap [mailto:goyathlay.geronimo@gmail.com]
> > > Sent: lundi 13 février 2006 20:39
> > > To: dev@geronimo.apache.org; vmassol@pivolis.com
> > > Subject: Re: offline deployment with deploy distribute?
> > >
> > > Vincent, I don't wish to hijack this thread, but I thought the Cargo
> > > plugin doesn't yet support the containers that ships with Geronimo.
> > > The plugin for Tomcat 5.5.x needs JDK 1.5.
> >
> > I'm not sure what you mean by the "containers that ships with Geronimo".
> > AFAIK G supports Jetty 5.x and Tomcat 5.5.x. Cargo 0.7 supports Tomcat
> 5.5.x
> > and only Jetty 4.x. However Cargo 0.8 supports Jetty 5.x and 6.x too
> (thanks
> > to JanB).
> >
> > There are several ways to use Cargo:
> > - through the Java API
> > - through an extension:
> >  - Ant tasks
> >  - maven1 plugin
> >  - maven2 plugin
> >  - netbeans and IntelliJ IDEA plugins
> >
> > If you have found an issue with Tomcat 5.5.x please let us know on the
> Cargo
> > lists!
> >
> > > I am interested in the work that you are doing with Cargo & Geronimo.
> > >
> > > http://www.mail-archive.com/dev@geronimo.apache.org/msg17578.html
> >
> > Very cool. I had missed that email.
> >
> > I'd love to provide all the help require for you to use Cargo. Make sure
> you
> > talk to the Cargo team on the mailing lists. You'll find us very open to
> > helping and collaborating.
> >
> > Thanks
> > -Vincent
> >
> > > On 2/13/06, Aaron Mulder <ammulder@alumni.princeton.edu> wrote:
> > > > The offline option has gone away for 1.0.  There are Maven tasks you
> > > > can use to start the server, deploy some stuff, and then shut the
> > > > server down again -- not sure if that would work for you.  There was
> > > > talk about creating a dedicated offline development tool, but I
> don't
> > > > think it's been a super-high priority.  Of course, having more use
> > > > cases helps motivate things like that.  :)
> > > >
> > > > I'm not sure if there's a JIRA for this or not -- if you get a
> chance,
> > > > can you review the JIRAs in the "deployment" category and see if
> > > > there's one discussing offline deployment and if not add one and
> > > > describe why you need it?
> > > >
> > > > Thanks,
> > > >     Aaron
> > > >
> > > > http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10220
> > > >
> > > > On 2/13/06, Vincent Massol <vmassol@pivolis.com> wrote:
> > > > > Hi,
> > > > >
> > > > > Still working on the G integration in Cargo. I need to find a way
> to
> > > deploy
> > > > > an archive before the container is started. I read on
> > > > > http://tinyurl.com/8dfxj that I should use the distribute command
> with
> > > the
> > > > > --offline option.
> > > > >
> > > > > I'm using G 1.0 and it's failing:
> > > > >
> > > > > C:\apps\geronimo-1.0-tomcat\bin>java -jar deployer.jar --offline
> > > distribute
> > > > > C:\dev\m2book\code\j2ee\daytrader\ear\target\daytrader-ear-1.0-
> > > SNAPSHOT.ear
> > > > >
> C:\dev\m2book\code\j2ee\daytrader\ear\src\main\deployment\dayTrader-
> > > plan.xml
> > > > >
> > > > >     Error: No such command: '--offline'
> > > > >
> > > > >
> > > > > Command-line deployer syntax:
> > > > >     deployer [general options] command [command options]
> > > > >
> > > > > [...]
> > > > >
> > > > > If I don't use --offline I get:
> > > > >
> > > > > C:\apps\geronimo-1.0-tomcat\bin>java -jar deployer.jar distribute
> > > > > C:\dev\m2book\code\j2ee\daytrader\ear\target\daytrader-ear-1.0-
> > > SNAPSHOT.ear
> > > > >
> C:\dev\m2book\code\j2ee\daytrader\ear\src\main\deployment\dayTrader-
> > > plan.xml
> > > > >     Error: Unable to connect to server at deployer:geronimo:jmx --
> > > > >     javax.naming.ServiceUnavailableException [Root exception is
> > > > >     java.rmi.ConnectException: Connection refused to host:
> localhost;
> > > > >     nested exception is:
> > > > >
> > > > >         java.net.ConnectException: Connection refused: connect]
> > > > >
> > > > > Any idea? Is the --offline option supported in G 1.0?
> > > > >
> > > > > Thanks
> > > > > -Vincent
> > > > >
> > > > >
> > > >
> >
> >


Mime
View raw message