Hi Ruwan, This is a problem with the ListenerManager shutdown hook impl. See AXIS2-4212 for details.
Thanks, Hiranya On Thu, Mar 5, 2009 at 10:23 AM, Ruwan Linton <[email protected]>wrote: > Issue one is fixed with the help from indika, but the shutdown issue still > persists. > > Thanks, > Ruwan > > > On Thu, Mar 5, 2009 at 8:31 AM, Ruwan Linton <[email protected]>wrote: > >> Further, when shutting down the server; >> >> 2009-03-05 08:30:25,047 [-] [Thread-5] INFO SynapseServer Shutting down >> Apache Synapse ... >> Exception in thread "Thread-1" java.lang.IllegalStateException: Shutdown >> in progress >> at java.lang.Shutdown.remove(Shutdown.java:104) >> at java.lang.Runtime.removeShutdownHook(Runtime.java:218) >> at >> org.apache.axis2.engine.ListenerManager.stop(ListenerManager.java:155) >> at >> org.apache.axis2.engine.ListenerManager$ListenerManagerShutdownThread.run(ListenerManager.java:258) >> 2009-03-05 08:30:25,097 [-] [Thread-5] ERROR Axis2SynapseController Error >> stopping the Axis2 Based Server Environment >> java.lang.IllegalStateException: Shutdown in progress >> at java.lang.Shutdown.remove(Shutdown.java:104) >> at java.lang.Runtime.removeShutdownHook(Runtime.java:218) >> at >> org.apache.axis2.engine.ListenerManager.stop(ListenerManager.java:155) >> at >> org.apache.synapse.Axis2SynapseController.destroy(Axis2SynapseController.java:137) >> at org.apache.synapse.ServerManager.doStop(ServerManager.java:165) >> at org.apache.synapse.ServerManager.stop(ServerManager.java:87) >> at org.apache.synapse.SynapseServer$1.run(SynapseServer.java:74) >> 2009-03-05 08:30:25,102 [-] [Thread-5] INFO SynapseServer Shutdown >> complete >> 2009-03-05 08:30:25,102 [-] [Thread-5] INFO SynapseServer Halting JVM >> >> Thanks, >> Ruwan >> >> >> On Thu, Mar 5, 2009 at 8:16 AM, Ruwan Linton <[email protected]>wrote: >> >>> and is not working in r749213.... :( Indika?? >>> >>> Thanks, >>> Ruwan >>> >>> >>> On Thu, Mar 5, 2009 at 8:09 AM, Ruwan Linton <[email protected]>wrote: >>> >>>> Well, this works on r749043 meaning that it is a regression by the >>>> changes but not came from axis2. >>>> >>>> In the process of analyzing the issue... >>>> >>>> Thanks, >>>> Ruwan >>>> >>>> >>>> On Thu, Mar 5, 2009 at 7:35 AM, Ruwan Linton <[email protected]>wrote: >>>> >>>>> Hi devs, >>>>> >>>>> I am seeing a smoke failure in synapse.... I couldn't get any of the >>>>> samples to run on synapse and to me it seems like a change in the axis2 >>>>> causes this issue. Asankha have you tried any samples after moving to the >>>>> axis2 1.5 branch? (Just want to see whether this is local to me or a real >>>>> issue). >>>>> >>>>> I am working on this.... >>>>> >>>>> The stack trace I see on synapse is as follows and we should be able to >>>>> get rid of this by setting the message context property >>>>> "addressing.validateAction" to false, but the issue is addressing based >>>>> dispatcher is coming before the Synapse Dispatcher and we might need to >>>>> add >>>>> a new handler to fix this issue. >>>>> >>>>> org.apache.axis2.AxisFault: The [action] cannot be processed at the >>>>> receiver. >>>>> at >>>>> org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:373) >>>>> at >>>>> org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSupportedFault(AddressingFaultsHelper.java:336) >>>>> at >>>>> org.apache.axis2.dispatchers.AddressingBasedDispatcher.checkAction(AddressingBasedDispatcher.java:141) >>>>> at >>>>> org.apache.axis2.dispatchers.AddressingBasedDispatcher.invoke(AddressingBasedDispatcher.java:126) >>>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:318) >>>>> at >>>>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251) >>>>> at >>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160) >>>>> at >>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) >>>>> at >>>>> org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:287) >>>>> at >>>>> org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:194) >>>>> at >>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58) >>>>> at >>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) >>>>> at >>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) >>>>> at java.lang.Thread.run(Thread.java:595) >>>>> >>>>> Thanks, >>>>> Ruwan >>>>> >>>>> -- >>>>> Ruwan Linton >>>>> http://wso2.org - "Oxygenating the Web Services Platform" >>>>> http://ruwansblog.blogspot.com/ >>>>> >>>> >>>> >>>> >>>> -- >>>> Ruwan Linton >>>> http://wso2.org - "Oxygenating the Web Services Platform" >>>> http://ruwansblog.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> Ruwan Linton >>> http://wso2.org - "Oxygenating the Web Services Platform" >>> http://ruwansblog.blogspot.com/ >>> >> >> >> >> -- >> Ruwan Linton >> http://wso2.org - "Oxygenating the Web Services Platform" >> http://ruwansblog.blogspot.com/ >> > > > > -- > Ruwan Linton > http://wso2.org - "Oxygenating the Web Services Platform" > http://ruwansblog.blogspot.com/ >
