Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 93531 invoked from network); 5 Mar 2009 06:50:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 06:50:52 -0000 Received: (qmail 65169 invoked by uid 500); 5 Mar 2009 06:50:40 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 65136 invoked by uid 500); 5 Mar 2009 06:50:39 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 65122 invoked by uid 99); 5 Mar 2009 06:50:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 22:50:39 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ruwan.linton@gmail.com designates 209.85.142.191 as permitted sender) Received: from [209.85.142.191] (HELO ti-out-0910.google.com) (209.85.142.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 06:50:32 +0000 Received: by ti-out-0910.google.com with SMTP id b6so3580950tic.15 for ; Wed, 04 Mar 2009 22:50:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=WeMiXNOgS5m3Jq1zkPnIthSqJduavu+boc8D7J4ZK7g=; b=VSDimn2izVCeBM2vTsupptZO1jVeDPKmcbWTikH/d3l+4oc9lFHb4vvmv37u6Xtv7c 3fUAxVNNTFLxFKdHChJW1Jhuy0c4yS0NBM9S/k7MxM5SgJWbpC5yRl5hhxPqz98rgc3S USmLL8UPBQHBW/4JEFQY/KRoGLsX5Tuwe/ZSg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bXi6nqDUhzjtX9luOdERYjzOZDO6jUcI7eH0w7RMTLrFMTd/YSUMHl/yaO3ejkKP3u 1Tu+v0VLdUby1zHqxtIF/kEGFr/FrjIi6sBWJSGRLNzVxUrA5p+o6KW9JGAp1qZ2L3LY YyJoZQZpJ5G8ipkc+9AaWUKvzxGq44ak9W7lY= MIME-Version: 1.0 Received: by 10.110.16.9 with SMTP id 9mr1248657tip.32.1236235803880; Wed, 04 Mar 2009 22:50:03 -0800 (PST) In-Reply-To: <558af1840903042134of588759jb224d065d7431284@mail.gmail.com> References: <672a01200903041805q19b72c65u4d5e116cf35b5e73@mail.gmail.com> <672a01200903041839v2315e7a3r8a9e9c8a8b171336@mail.gmail.com> <672a01200903041846n2e56174as9b5f886a92109f5d@mail.gmail.com> <672a01200903041901h304f39efgace8fc67ac699272@mail.gmail.com> <672a01200903042053y452af655n7e7e12d7c728f9a8@mail.gmail.com> <558af1840903042134of588759jb224d065d7431284@mail.gmail.com> Date: Thu, 5 Mar 2009 12:20:03 +0530 Message-ID: <672a01200903042250n22366bb2qd2e3aa29b9951536@mail.gmail.com> Subject: Re: Synapse smoke failure From: Ruwan Linton To: dev@synapse.apache.org Cc: "axis-dev@ws.apache.org" Content-Type: multipart/alternative; boundary=0016e64ed604f37dc504645993ca X-Virus-Checked: Checked by ClamAV on apache.org --0016e64ed604f37dc504645993ca Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Copying the axis2-dev list as well well, I don't think the patch solves the problem... we need to handle the situation rather than neglecting it. Ideally you should not get ISE. Thanks, Ruwan On Thu, Mar 5, 2009 at 11:04 AM, Hiranya Jayathilaka wrote: > 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 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 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 wrote: >>> >>>> and is not working in r749213.... :( Indika?? >>>> >>>> Thanks, >>>> Ruwan >>>> >>>> >>>> On Thu, Mar 5, 2009 at 8:09 AM, Ruwan Linton 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 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/ >> > > -- Ruwan Linton http://wso2.org - "Oxygenating the Web Services Platform" http://ruwansblog.blogspot.com/ --0016e64ed604f37dc504645993ca Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Copying the axis2-dev list as well

well, I don't think the patch= solves the problem... we need to handle the situation rather than neglecti= ng it. Ideally you should not get ISE.

Thanks,
Ruwan

On Thu, Mar 5, 2009 at 11:04 AM, Hiranya Jayathilaka <= hiranya911@gmail.com>= wrote:
Hi Ruwan,

This is a problem with the ListenerManager shu= tdown hook impl. See AXIS2-4212 for details.

Thank= s,
Hiranya


On Thu, Mar 5, 2009 at 10:23 AM, Ruwan Linton <ruwan.linton@gmail.com= > wrote:
Issue one is fixe= d with the help from indika, but the shutdown issue still persists.

Thanks,
Ruwan


On Thu, Mar 5, 2009 at 8= :31 AM, Ruwan Linton <ruwan.linton@gmail.com> wrote:
Further, when shu= tting down the server;

2009-03-05 08:30:25,047 [-] [Thread-5]=A0 INF= O SynapseServer Shutting down Apache Synapse ...
Exception in thread "Thread-1" java.lang.IllegalStateException: S= hutdown in progress
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Shutdown.remove(Shutdown.java:104)
= =A0=A0=A0=A0=A0=A0=A0 at java.lang.Runtime.removeShutdownHook(Runtime.java:= 218)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.engine.ListenerManager.st= op(ListenerManager.java:155)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.e= ngine.ListenerManager$ListenerManagerShutdownThread.run(ListenerManager.jav= a:258)
2009-03-05 08:30:25,097 [-] [Thread-5] ERROR Axis2SynapseController Error s= topping the Axis2 Based Server Environment
java.lang.IllegalStateExcepti= on: Shutdown in progress
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Shutdown.rem= ove(Shutdown.java:104)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Runtime.removeShutdownHook(Runtime.java:= 218)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.engine.ListenerManager.st= op(ListenerManager.java:155)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.synapse= .Axis2SynapseController.destroy(Axis2SynapseController.java:137)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.synapse.ServerManager.doStop(ServerMana= ger.java:165)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.synapse.ServerManager.= stop(ServerManager.java:87)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.synapse.= SynapseServer$1.run(SynapseServer.java:74)
2009-03-05 08:30:25,102 [-] [Thread-5]=A0 INFO SynapseServer Shutdown compl= ete
2009-03-05 08:30:25,102 [-] [Thread-5]=A0 INFO SynapseServer Halting= JVM

Thanks,
Ruwan
=


On Thu, Mar 5, 2009 at 8:16 AM, Ruwan Li= nton <ruwan.linton@gmail.com> wrote:
and is not workin= g in r749213.... :( Indika??

Thanks,
Ruwa= n


On Thu, Mar 5, 2009 at 8= :09 AM, Ruwan Linton <ruwan.linton@gmail.com> 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 <ruwan.linton@gmai= l.com> wrote:
Hi devs,

I= am seeing a smoke failure in synapse.... I couldn't get any of the sam= ples 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).<= br>
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 con= text 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 rec= eiver.
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.addressing.AddressingFa= ultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:373)
=A0= =A0=A0=A0=A0=A0=A0 at org.apache.axis2.addressing.AddressingFaultsHelper.tr= iggerActionNotSupportedFault(AddressingFaultsHelper.java:336)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.dispatchers.AddressingBasedDispat= cher.checkAction(AddressingBasedDispatcher.java:141)
=A0=A0=A0=A0=A0=A0= =A0 at org.apache.axis2.dispatchers.AddressingBasedDispatcher.invoke(Addres= singBasedDispatcher.java:126)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.engine.Phase.invoke(Phase.java:31= 8)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.engine.AxisEngine.invoke(Ax= isEngine.java:251)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.engine.Axis= Engine.receive(AxisEngine.java:160)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.transport.http.HTTPTransportUtils= .processHTTPPostRequest(HTTPTransportUtils.java:167)
=A0=A0=A0=A0=A0=A0= =A0 at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWo= rker.java:287)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.synapse.transport.nht= tp.ServerWorker.run(ServerWorker.java:194)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.axis2.transport.base.threads.NativeWork= erPool$1.run(NativeWorkerPool.java:58)
=A0=A0=A0=A0=A0=A0=A0 at java.uti= l.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)=
=A0=A0=A0=A0=A0=A0=A0 at java.util.concurrent.ThreadPoolExecutor$Worker= .run(ThreadPoolExecutor.java:675)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Thread.run(Thread.java:595)

Thank= s,
Ruwan

--
Ruwan Linto= n
http://wso2.org - &q= uot;Oxygenating the Web Services Platform"
http://ruwans= blog.blogspot.com/



--
Ruwan Linton
= http://wso2.org - "O= xygenating the Web Services Platform"
http://ruwansblog.blogspot.com/



--
Ruwan Linto= n
http://wso2.org - &q= uot;Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/



--
Ruwan Linto= n
http://wso2.org - &q= uot;Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/



--
Ruwan Linto= n
http://wso2.org - &q= uot;Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/




--
Ruwan Linton
http://wso2.org - "Oxygenating the Web Servic= es Platform"
http://ruw= ansblog.blogspot.com/
--0016e64ed604f37dc504645993ca--