jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Starting Websphere server from Ant script
Date Fri, 16 Jan 2004 06:38:26 GMT
Unfortunately, I am not a WebSphere user. I guess you have 2 choices:

- you either need to find out the websphere java class containing the
main() method. You'll also need to know the system properties to pass to
it. The way to find this information is by looking at your existing
websphere startup scripts

- directly call the websphere startup script from within your start and
stop targets, using <exec>

-Vincent

> -----Original Message-----
> From: PUTHENVILA P Johnson [mailto:PJohnson@qtech.com.au]
> Sent: 16 January 2004 20:22
> To: Cactus Users List
> Subject: RE: Starting Websphere server from Ant script
> 
> Thanks Vincent, I read the docs It says
>     <generic name="My Container" port="8080">
>       <startup target="mycontainer.start"/>
>       <shutdown target="mycontainer.stop"/>
>     </generic>
> 
> I would like know how can I implement mycontainer.start  and
> mycontainer.stop using websphere. the docs says
> 
> How these targets are implemented is highly dependant on the
container.
> Most likely you'll need to copy some files and use the <java> task to
> invoke a container-provided Java class that can start/stop the
container.
> any idea about this.
> thanks for the reply.


Mime
View raw message