I still have not found out what object/method to call to
shut down axis server from inside.

Can anyone enlighten me?

--kjell




On 28 nov 2007, at 08.35, Kjell Nilsson wrote:

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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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



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



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

Reply via email to