You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Chris Russell <ch...@oracle.com> on 2007/02/12 20:32:16 UTC
Need to bounce OC4J during re-deployment
Hello,
In order to redeploy my application I need to:
1. Undeploy app
2. Bounce OC4J instance
3. Deploy app
If I don't do this I get an error in step 3 regarding MBeans that are
still in use (or something like that).
Is there a way to accomplish this with Continuum? So far, my only
thought is to write a Cron job to undeploy and restart oc4j, then let
Continuum build, test and deploy.
Thanks in advance,
Chris
Re: Need to bounce OC4J during re-deployment
Posted by Jeff Mutonho <ej...@gmail.com>.
On 2/12/07, Erik Drolshammer <dr...@idi.ntnu.no> wrote:
>
> Chris Russell wrote:
>
> > In order to redeploy my application I need to:
> > 1. Undeploy app
> > 2. Bounce OC4J instance
> > 3. Deploy app
>
> > Is there a way to accomplish this with Continuum? So far, my only
> > thought is to write a Cron job to undeploy and restart oc4j, then let
> > Continuum build, test and deploy.
>
> Have you looked at the cargo-maven plugin?
> It seems to have at least som support for OC4j.
>
> http://docs.codehaus.org/display/CARGO/Oc4J+9.x
>
> --
> Regards
> Erik Drolshammer
>
> the cargo plugin does not support remote deployments to OC4J.I had to use
the combination of the maven-antrun-plugin and the oc4j_remote_deploy.jar
to do a remote deployment with my continuum builds.
--
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
Re: Need to bounce OC4J during re-deployment
Posted by Erik Drolshammer <dr...@idi.ntnu.no>.
Chris Russell wrote:
> In order to redeploy my application I need to:
> 1. Undeploy app
> 2. Bounce OC4J instance
> 3. Deploy app
> Is there a way to accomplish this with Continuum? So far, my only
> thought is to write a Cron job to undeploy and restart oc4j, then let
> Continuum build, test and deploy.
Have you looked at the cargo-maven plugin?
It seems to have at least som support for OC4j.
http://docs.codehaus.org/display/CARGO/Oc4J+9.x
--
Regards
Erik Drolshammer