Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 2879 invoked from network); 4 Oct 2008 05:06:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2008 05:06:57 -0000 Received: (qmail 9620 invoked by uid 500); 4 Oct 2008 05:06:47 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 9587 invoked by uid 500); 4 Oct 2008 05:06:47 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 9575 invoked by uid 99); 4 Oct 2008 05:06:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 22:06:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of keithgchapman@gmail.com designates 209.85.217.14 as permitted sender) Received: from [209.85.217.14] (HELO mail-gx0-f14.google.com) (209.85.217.14) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2008 05:05:43 +0000 Received: by mail-gx0-f14.google.com with SMTP id 7so4398973gxk.16 for ; Fri, 03 Oct 2008 22:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=pq/plbTKu5qpEEr0f8tXHjo+0XidRFKrrnoN6yfP1Ps=; b=JDMVTZu6ZabH1O8PJOZKo0PMJsPfOdiPdv6cdkSM38pzuWziTkapF20HJ1GzwcfLRL V9yq2wZdAKe+6KtqIyDdWMKtQn2a1pzMkN+UVBXMphGRcJ/4fN5ixbxgMqRgqsLhhkWj dvO59/YPri1milVXOSsy6Jn/GbWlP/t41fHFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=nWzy+QM0DsFd5QAyPuy5hGa8fhy0ReYEbRFXSgjIByk0WQ9+G7F+dmPIdLYFY/XZzi YYGCbwd7tfar2AmuFYiadEjFOIiZVGIGnqqOZYnTVE0Gp4DBoI2NgRkKS0OymxikX6FP rC8fuOzI3eY7znvjZ44gJM5JBEEIJP9Vx5Yeg= Received: by 10.151.141.8 with SMTP id t8mr3188597ybn.247.1223096778471; Fri, 03 Oct 2008 22:06:18 -0700 (PDT) Received: by 10.151.154.12 with HTTP; Fri, 3 Oct 2008 22:06:18 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 10:36:18 +0530 From: "keith chapman" To: axis-user@ws.apache.org Subject: Re: [Axis2] problem with asynchronous msg processing In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17118_18532034.1223096778496" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17118_18532034.1223096778496 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Could you please open a JIRA for this. If possible please attach a test case too so that one of us can have a look at it. Thanks, Keith. On Fri, Oct 3, 2008 at 5:16 PM, Michele Mazzucco wrote: > Hello everyone, > > I'm using Axis2 1.3 and I have a problem with async msgs (in-out > operations). > The CallbackReceiver class stores the msg IDs into a hash map, however (1) > there's a bug in the algorithm which generates msg IDs (i.e. it generates > duplicates) or (2) there's a concurrency problem. > > Here's the problem: > 2008-10-03 12:32:44,190 [-] [pool-1-thread-4] INFO HttpCoreNIOListener > HTTP Listener starting on port : 11001 > [java] 2008-10-03 12:32:45,013 [-] [I/O dispatcher 2] INFO PipeImpl > Using native OS Pipes for event-driven to stream IO bridging > [java] 2008-10-03 12:33:13,001 [-] [HttpServerWorker-3] ERROR > ServerWorker Error processing POST request > [java] org.apache.axis2.AxisFault: The Callback for MessageID > urn:uuid:B38A228B48E61911181223033596606 was not found > [java] at > org.apache.axis2.util.CallbackReceiver.receive(CallbackReceiver.java:70) > [java] at > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) > [java] at > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) > [java] at > org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:226) > [java] at > org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:190) > [java] at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > [java] at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > [java] at java.lang.Thread.run(Thread.java:613) > > > Has any of the classes involved into this bug been updated in Axis2 > 1.4/1.4.1? > > > > Thanks, > Michele > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org ------=_Part_17118_18532034.1223096778496 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Could you please open a JIRA for this. If possible please attach a test case too so that one of us can have a look at it.

Thanks,
Keith.

On Fri, Oct 3, 2008 at 5:16 PM, Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:
Hello everyone,

I'm using Axis2 1.3 and I have a problem with async msgs (in-out operations).
The CallbackReceiver class stores the msg IDs into a hash map, however (1) there's a bug in the algorithm which generates msg IDs (i.e. it generates duplicates) or (2) there's a concurrency problem.

Here's the problem:
2008-10-03 12:32:44,190 [-] [pool-1-thread-4]  INFO HttpCoreNIOListener HTTP Listener starting on port : 11001
    [java] 2008-10-03 12:32:45,013 [-] [I/O dispatcher 2]  INFO PipeImpl Using native OS Pipes for event-driven to stream IO bridging
    [java] 2008-10-03 12:33:13,001 [-] [HttpServerWorker-3] ERROR ServerWorker Error processing POST request
    [java] org.apache.axis2.AxisFault: The Callback for MessageID urn:uuid:B38A228B48E61911181223033596606 was not found
    [java]     at org.apache.axis2.util.CallbackReceiver.receive(CallbackReceiver.java:70)
    [java]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
    [java]     at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
    [java]     at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:226)
    [java]     at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:190)
    [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    [java]     at java.lang.Thread.run(Thread.java:613)


Has any of the classes involved into this bug been updated in Axis2 1.4/1.4.1?



Thanks,
Michele


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




--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org
------=_Part_17118_18532034.1223096778496--