You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bart Warnez <wa...@fednot.be> on 2007/04/20 15:25:38 UTC

Bamboo and cargo: endless builds

Hello,

I made a plan to deploy our builds into Tomcat 5 with the maven plugin
"cargo". I scheduled it as daily builds. The problem is that the build never
stops. The last lines of the activity log look like this:

20-avr.-2007 14:32:48 INFO talledLocalContainer INFO: Server startup in
42594 ms 
20-avr.-2007 14:32:50 INFO talledLocalContainer Tomcat 5.5.23 started on
port 8080 
20-avr.-2007 14:32:50 INFO Press Ctrl-C to stop the container... 

If the next day, when the plan is scheduled to run again, the previous build
is automatically stopped and the new one starts, I wouldn't really make a
problem of this, becoz at least, the build is refreshed every day and I can
always see the newest webapp on my browser. But, the old running build
blocks the new build, so I would have to manually stop the old build and
restart the plan.

Is there any solution to this?

Grtz,

Bart
-- 
View this message in context: http://www.nabble.com/Bamboo-and-cargo%3A-endless-builds-tf3617872s177.html#a10101963
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Bamboo and cargo: endless builds

Posted by Wayne Fay <wa...@gmail.com>.
It looks like you've got an embedded Tomcat5 server/container that
Cargo is deploying to... is that correct? If so, you probably need to
change that and deploy to a stand-alone, normally installed Tomcat5.
Then I think Cargo should deploy and exit after the deployment is
successful or fails.

Realistically, this question should be sent to the Cargo Users list as
they may have better/more advice than we can offer.

Wayne

On 4/20/07, Bart Warnez <wa...@fednot.be> wrote:
>
> Hello,
>
> I made a plan to deploy our builds into Tomcat 5 with the maven plugin
> "cargo". I scheduled it as daily builds. The problem is that the build never
> stops. The last lines of the activity log look like this:
>
> 20-avr.-2007 14:32:48 INFO talledLocalContainer INFO: Server startup in
> 42594 ms
> 20-avr.-2007 14:32:50 INFO talledLocalContainer Tomcat 5.5.23 started on
> port 8080
> 20-avr.-2007 14:32:50 INFO Press Ctrl-C to stop the container...
>
> If the next day, when the plan is scheduled to run again, the previous build
> is automatically stopped and the new one starts, I wouldn't really make a
> problem of this, becoz at least, the build is refreshed every day and I can
> always see the newest webapp on my browser. But, the old running build
> blocks the new build, so I would have to manually stop the old build and
> restart the plan.
>
> Is there any solution to this?
>
> Grtz,
>
> Bart
> --
> View this message in context: http://www.nabble.com/Bamboo-and-cargo%3A-endless-builds-tf3617872s177.html#a10101963
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Bamboo and cargo: endless builds

Posted by Wendy Smoak <ws...@gmail.com>.
On 4/20/07, Bart Warnez <wa...@fednot.be> wrote:
>
> Hello,
>
> I made a plan to deploy our builds into Tomcat 5 with the maven plugin
> "cargo". I scheduled it as daily builds. The problem is that the build never
> stops.

Without seeing how you are configuring Cargo, it's hard to help.  If
you're using the Maven 2 plugin, then you might need
<wait>false</wait> in the configuration.

If you have more questions, please ask on the Cargo user list.

http://cargo.codehaus.org/Mailing+Lists

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org