Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Problem running Java client Multithreaded

Guest
Posted: Sun Feb 24, 2008 10:42 pm Reply with quote
Guest
Hi,

I'm testing RabbitMQ with Mule using the JavaClient (RpcClient). I run 1000 requests in a single thread and all is good. As soon as a I spawn 2 or more client threads I get ShutdownSignalException. None of my code closes the connection but I can't figure out what does. The exception I get is:

Caused by: com.rabbitmq.client.ShutdownSignalException (connection error; reason: {#method<connection.close>(reply code=502, reply text=SYNTAX_ERROR, class id=60, method id=40),null,""})
at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:565)
at com.rabbitmq.client.impl.AMQConnection.handleConnectionClose(AMQConnection.java:549)
at com.rabbitmq.client.impl.AMQConnection.processControlCommand(AMQConnection.java:526)
at com.rabbitmq.client.impl.AMQConnection$1.processAsync(AMQConnection.java:80)
at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:146)
at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:101)
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:431)

Any ideas?
Cheers,


Ross Mason
CTO, Co-Founder
MuleSource Inc.


http://mulesource.com | http://blog.rossmason.com









Post recived from mailinglist
Guest
Posted: Sun Feb 24, 2008 11:03 pm Reply with quote
Guest
Ross Mason wrote:
> Hi,
>
> I'm testing RabbitMQ with Mule using the JavaClient (RpcClient). I run
> 1000 requests in a single thread and all is good. As soon as a I spawn 2
> or more client threads I get ShutdownSignalException. None of my code
> closes the connection but I can't figure out what does. The exception I
> get is:
>
> Caused by: com.rabbitmq.client.ShutdownSignalException (connection
> error; reason: {#method<connection.close>(reply code=502, reply
> text=SYNTAX_ERROR, class id=60, method id=40),null,""})
^^^^^^^^^^^^^^^^^^^^^^

Just discussed that last week:
http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-February/000901.html

Holger

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum