You use a very old version of JBoss
How do you stop the server? And what is incomplete?
Could you a bit more detailed?
i am stopping server with
or ctrl C
Whenever client call my web services, and sever start running the process for service in between that process if i stop server by any of above method it remains the process transaction incomplete ,
The process for request my server get will be incompleted.
Is the process spit in several web-services? AFAIK a single call will be finished. But I'm not sure whether this is the case with such old AS version.
Do you have a change to check that with the latest AS4 or newer version?
No i didnt check with with any other version.
yes the web services is spit in several web services deployed on same server instance and other instance as well..
I suppose the problem is that you invoke a sequence of services from a client outside the used server.
If you shutdown the server it will wait to finish the current runing service, after this is complete the server will undeploy the app and continue shutdown.
If you try to call the next service in this sequence for the business case the first webservice is commited and this one can not invoked as the application is down.
A possible solution is to use a more coarse-grained approach which use a container-transaction to be consistent.
Other option might be to have a business transaction where you can restore the process after such situation.
is there any way to stop the incoming http requests and the current pending requests complete its process after that we call shutdown the server.
A common way is to redirect new request to a "under construction" page if there is a apache in front.
If you have a DNS in front you might redirect a new request here.
For the direct JBoss connection I did not know a possibility.