<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Kotresh,<br>
    <br>
    I don't see any Rabbit library calls in the stacktrace - are you
    running out of Rabbit connections? Perhaps someone on the list with
    Mule experience can help you better, but it looks like you need to
    ensure that completed requests return their connections to the pool
    or you might need a larger pool.<br>
    <br>
    -Emile<br>
    <br>
    On 17/05/11 09:58, Kotreshi Chikkabidari wrote:
    <blockquote
cite="mid:4FA68B7495F3C44487DB72B8762B1CD416C11F@MTW02MBX05.mindtree.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-size:10.0pt}
@page Section1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.Section1
        {}
-->
</style>
      <div class="Section1">
        <p class="MsoNormal">Hi,</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">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.</p>
        <p class="MsoNormal">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.</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">Failed to connect/reconnect:
          <a class="moz-txt-link-freetext" href="http://10.3.12.227:9093/IdentityManagementCallback">http://10.3.12.227:9093/IdentityManagementCallback</a>. Root
          Exception was: Cannot assign requested address: JVM_Bind.
          Type: class java.net.BindException</p>
        <p class="MsoNormal">13-May 16:28:59,500 [ERROR]
          [&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; main] [&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          org.mule.DefaultExceptionStrategy] -
        </p>
        <p class="MsoNormal">********************************************************************************</p>
        <p class="MsoNormal">Message&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Failed to bind to
          uri <a class="moz-txt-link-rfc2396E" href="http://10.3.12.227:9093/IdentityManagementCallback">"http://10.3.12.227:9093/IdentityManagementCallback"</a></p>
        <p class="MsoNormal">Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
          org.mule.transport.ConnectException</p>
        <p class="MsoNormal">Code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : MULE_ERROR-0</p>
        <p class="MsoNormal">JavaDoc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
<a class="moz-txt-link-freetext" href="http://www.mulesource.org/docs/site/current2/apidocs/org/mule/transport/ConnectException.html">http://www.mulesource.org/docs/site/current2/apidocs/org/mule/transport/ConnectException.html</a></p>
        <p class="MsoNormal">********************************************************************************</p>
        <p class="MsoNormal">Exception stack is:</p>
        <p class="MsoNormal">1. Cannot assign requested address:
          JVM_Bind (java.net.BindException)</p>
        <p class="MsoNormal">&nbsp; java.net.PlainSocketImpl:-2 (null)</p>
        <p class="MsoNormal">2. Failed to bind to uri
          <a class="moz-txt-link-rfc2396E" href="http://10.3.12.227:9093/IdentityManagementCallback">"http://10.3.12.227:9093/IdentityManagementCallback"</a>
          (org.mule.transport.ConnectException)</p>
        <p class="MsoNormal">&nbsp;
          org.mule.transport.tcp.TcpMessageReceiver:81
(<a class="moz-txt-link-freetext" href="http://www.mulesource.org/docs/site/current2/apidocs/org/mule/transport/ConnectException.html">http://www.mulesource.org/docs/site/current2/apidocs/org/mule/transport/ConnectException.html</a>)</p>
        <p class="MsoNormal">********************************************************************************</p>
        <p class="MsoNormal">Root Exception stack trace:</p>
        <p class="MsoNormal">java.net.BindException: Cannot assign
          requested address: JVM_Bind</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
          java.net.PlainSocketImpl.socketBind(Native Method)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
          java.net.PlainSocketImpl.bind(Unknown Source)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
          java.net.ServerSocket.bind(Unknown Source)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.tcp.TcpServerSocketFactory.configure(TcpServerSocketFactory.java:59)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:43)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:37)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.tcp.TcpConnector.getServerSocket(TcpConnector.java:438)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.tcp.TcpMessageReceiver.doConnect(TcpMessageReceiver.java:77)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.http.HttpMessageReceiver.doConnect(HttpMessageReceiver.java:88)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.AbstractConnectable$1.doWork(AbstractConnectable.java:173)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:59)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.transport.AbstractConnectable.connect(AbstractConnectable.java:166)</p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.mule.service.AbstractService.connectListeners(AbstractService.java:681)</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">&nbsp;</p>
        <p class="MsoNormal">regards</p>
        <p class="MsoNormal">Kotresh </p>
        <p class="MsoNormal">&nbsp;</p>
      </div>
      <br>
      <hr>
      <font color="Gray" face="Arial" size="1"><br>
        <a class="moz-txt-link-freetext" href="http://www.mindtree.com/email/disclaimer.html">http://www.mindtree.com/email/disclaimer.html</a><br>
      </font>
    </blockquote>
    <br>
  </body>
</html>