title: WSO2 ESB work with MB
body: <p>I'm trying to send a message from a local client to ESB and redirect it to MB on the same server.
  The message delieved MB. The client is waiting for response until application server throws error.</p>
  
  <p>My environment as below
  WSO2 ESB 4.8.0 (port offset 1)
  WSO2 MB 2.1.1 (port offset 2)
  IBM WebSphere Application Server 8.5.5.1</p>
  
  <p>The proxy service configuration of ESB</p>
  
  <pre><code>&lt;proxy name="SMSQProdProxy" transports="http" startOnLoad="true" trace="enable"&gt;
      &lt;target&gt;
          &lt;inSequence&gt;
              &lt;property name="OUT_ONLY" value="true"/&gt;
              &lt;send&gt;
                  &lt;endpoint&gt;
                      &lt;address uri="jms:/SMSQ?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;amp;java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory&amp;amp;java.naming.provider.url=repository/conf/jndi.properties&amp;amp;transport.jms.DestinationType=queue"/&gt;
                  &lt;/endpoint&gt;
              &lt;/send&gt;
           &lt;/inSequence&gt;
           &lt;outSequence&gt;
              &lt;send/&gt;
           &lt;/outSequence&gt;
      &lt;/target&gt;
      &lt;publishWSDL key="gov:/trunk/services/SendToSMSQProxy.wsdl"&gt;
         &lt;resource location="SMSWSService_schema1.xsd"
                 key="gov:/trunk/services/SMSWSService_schema1.xsd"/&gt;
      &lt;/publishWSDL&gt;
  &lt;/proxy&gt;
  </code></pre>
  
  <p>jndi.properties</p>
  
  <pre><code>connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5674'
  connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5674'
  queue.SMSQ = SMSQ
  </code></pre>
  
  <p>wso2-esb-errors.log</p>
  
  <blockquote>
    <p>2014-03-21 14:18:54,276 [-] [HTTP-Listener I/O dispatcher-1]  WARN SourceHandler Connection time out after request is read: http-incoming-3</p>
  </blockquote>
  
  <p>wso2-esb-trage.log</p>
  
  <pre><code>INFO TRACE_LOGGER Proxy Service SMSQProdProxy 
  received a new message from : xx.xx.xx.xx
  INFO TRACE_LOGGER Message To: /services/SMSQProdProxy
  INFO TRACE_LOGGER SOAPAction:
  INFO TRACE_LOGGER WSA-Action:
  INFO TRACE_LOGGER Using the anonymous in-sequence of the proxy service for mediation
  INFO TRACE_LOGGER Start : Sequence &lt;anonymous&gt;
  INFO TRACE_LOGGER Sequence &lt;SequenceMediator&gt; :: mediate()
  INFO TRACE_LOGGER Mediation started from mediator position : 0
  INFO TRACE_LOGGER Start : Property mediator
  INFO TRACE_LOGGER Setting property : OUT_ONLY at scope : default to : true (i.e. constant : true)
  INFO TRACE_LOGGER End : Property mediator
  INFO TRACE_LOGGER Start : Send mediator
  INFO TRACE_LOGGER Sending message through endpoint : null resolving to address = jms:/SMSQ?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory&amp;java.naming.provider.url=repository/conf/jndi.properties&amp;transport.jms.DestinationType=queue
  INFO TRACE_LOGGER SOAPAction:
  INFO TRACE_LOGGER WSA-Action:
  INFO TRACE_LOGGER End : Send mediator
  INFO TRACE_LOGGER End : Sequence &lt;anonymous&gt;
  </code></pre>
  
  <p>error log of application server</p>
  
  <blockquote>
    <p>java.io.IOException: Async IO operation failed (3), reason: RC: 55</p>
  </blockquote>
  
  <p>Thanks for any idea.</p>
  
  <p>After added <code>&lt;property name="FORCE_SC_ACCEPTED" value="true" scope="axis2"/&gt;</code> I get another error message </p>
  
  <blockquote>
    <p>2014-03-26 22:17:23,354 [-] [http-nio-9443-exec-15]  WARN AuthenticationHandler Illegal access attempt at [2014-03-26 22:17:23,0353] from IP address null while trying to authenticate access to service StatisticsAdmin
    2014-03-26 22:17:23,354 [-] [http-nio-9443-exec-15] ERROR AUDIT_LOG Illegal access attempt at [2014-03-26 22:17:23,0353] from IP address null while trying to authenticate access to service StatisticsAdmin
    2014-03-26 22:17:23,355 [-] [http-nio-9443-exec-15] ERROR StatisticsAdminClient Cannot get service stats for service SMSQProdProxy. Backend server may be unavailable.
    org.apache.axis2.AxisFault: The input stream for an incoming message is null.</p>
  </blockquote>
  
  <p>There is a similar problem <a href="https://wso2.org/jira/browse/WSAS-1214" rel="nofollow">https://wso2.org/jira/browse/WSAS-1214</a></p>