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:[EMAIL PROTECTED]
> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to