You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michele Mazzucco <Mi...@ncl.ac.uk> on 2008/10/03 13:46:37 UTC

[Axis2] problem with asynchronous msg processing

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.processHTTPPostReques 
t(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


Re: [Axis2] problem with asynchronous msg processing

Posted by Dmitriy Frolov <dm...@gmail.com>.
I was having the same issue with 1.4.1 the other day.

-Dmitriy

On Fri, Oct 3, 2008 at 7:46 AM, 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
>
>

Re: [Axis2] problem with asynchronous msg processing

Posted by keith chapman <ke...@gmail.com>.
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