[rabbitmq-discuss] Null pointer exception while dispaching to dynamic(temporary) queues
Kotreshi Chikkabidari
Kotreshi_Chikkabidari at mindtree.com
Tue May 17 09:58:04 BST 2011
Hi,
We are using rabbitmq1.8 with mule for multithreading. In multi threading its creating separate connection for each request and after 24 requests reaching max pool size and throwing below exception.
May I know how we can handle this issue ? This issue is only with dynamic queues ? How we can use single connector for multiple requests. It may be related to Mule issue if you have any idea please let me know thanks in advance.
Failed to connect/reconnect: http://10.3.12.227:9093/IdentityManagementCallback. Root Exception was: Cannot assign requested address: JVM_Bind. Type: class java.net.BindException
13-May 16:28:59,500 [ERROR] [ main] [ org.mule.DefaultExceptionStrategy] -
********************************************************************************
Message : Failed to bind to uri "http://10.3.12.227:9093/IdentityManagementCallback"
Type : org.mule.transport.ConnectException
Code : MULE_ERROR-0
JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/transport/ConnectException.html
********************************************************************************
Exception stack is:
1. Cannot assign requested address: JVM_Bind (java.net.BindException)
java.net.PlainSocketImpl:-2 (null)
2. Failed to bind to uri "http://10.3.12.227:9093/IdentityManagementCallback" (org.mule.transport.ConnectException)
org.mule.transport.tcp.TcpMessageReceiver:81 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/transport/ConnectException.html)
********************************************************************************
Root Exception stack trace:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at org.mule.transport.tcp.TcpServerSocketFactory.configure(TcpServerSocketFactory.java:59)
at org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:43)
at org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:37)
at org.mule.transport.tcp.TcpConnector.getServerSocket(TcpConnector.java:438)
at org.mule.transport.tcp.TcpMessageReceiver.doConnect(TcpMessageReceiver.java:77)
at org.mule.transport.http.HttpMessageReceiver.doConnect(HttpMessageReceiver.java:88)
at org.mule.transport.AbstractConnectable$1.doWork(AbstractConnectable.java:173)
at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:59)
at org.mule.transport.AbstractConnectable.connect(AbstractConnectable.java:166)
at org.mule.service.AbstractService.connectListeners(AbstractService.java:681)
regards
Kotresh
________________________________
http://www.mindtree.com/email/disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110517/fce25c49/attachment.htm>
More information about the rabbitmq-discuss
mailing list