axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kjell Nilsson <kj...@oops.se>
Subject Re: Silly question about how to shutdown axis
Date Wed, 28 Nov 2007 07:35:33 GMT
Thanx for your answer

I tried it but it did not work.

Probably because I run the server without an administrative site, just  
the
SimpleAxisServer standalone, outside of any container and such.

So if that is the only way to stop the server I think Ill have to  
implement
it in an operation myself.

MVH
--kjell



On 27 nov 2007, at 21.25, Martin Gainty wrote:

> unless its 2am and you need to stop a runaway task you should  
> quiesce your
> axis2 webapp to allow the connections to be closed *gracefully*
> e.g.
> assuming your axis2 webapp is called axis2 which is running on  
> localhost
> port 8080 put this in your browser
> http://localhost:8080/manager/html/stop?path=/axis2
>
> Tack
> M--
> ----- Original Message -----
> From: "Kjell Nilsson" <kjell@oops.se>
> To: <axis-user@ws.apache.org>
> Sent: Tuesday, November 27, 2007 12:33 PM
> Subject: Silly question about how to shutdown axis
>
>
>> This is probably a silly newbee question but how do I shutdown a
>> standalone axis server.
>>
>> I have implemented the ServiceLifeCycle interface so I can do late
>> late cleanup database
>> and jms stuff, and this works nice.
>>
>> Since I have developed on a Mac the Unix command 'kill' takes down  
>> the
>> axisserver nice and
>> clean, calling my shutDown() method. But my problem is that I will
>> deploy this axis2server on
>> OpenVMS and there is not a 'kill' command there, only a 'delete/ 
>> entry'
>> command that does
>> like 'kill -9', and thats not nice since the server dies abruptly.
>>
>> So what strategy shall I use? Implement an operation that will
>> shutdown axis2 from inside?
>> If so what method can I call to stop the server and how do I get hold
>> of the objects that
>> has the stop method? Or is there a static method somewhere to call?
>>
>> Any hint will be fine ;-)
>>
>> Kind regards
>> --kjell
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message