title: Websphere MQ Connection timed out
body: <p>I'm using WAS WebSphere and IBM MQ. My application must parse a message placed into a queue, then insert parsed data into database (DB2). It was working good until some large message was placed into the queue. Message was parsed successfully, but when the application started inserting to the database, Listener Port was stopped by the following error:</p>
  
  <pre><code>[10/25/15 23:57:44:022 GMT+06:00] 00000037 MDBListenerIm I   WMSG0042I: MDB    Listener ADAPTER.GBDRN.IN started successfully for JMSDestination  jms/ADAPTER.GBDRN.
  IN
  [10/25/15 23:59:44:044 GMT+06:00] 00000042 TimeoutManage I   WTRN0006W:   Transaction    00000150A0261DE500000001000066841D74FABA0FC48659721E8A1B6DB84C0E5C29909A00000150A0261DE500000001000066841D74FABA0FC48659721E8A1B6DB84C0E5C29909A00000001 has    timed out after 120 seconds.
  [10/25/15 23:59:44:049 GMT+06:00] 00000042 TimeoutManage I   WTRN0124I: When the timeout occurred the thread with which the transaction is, or was most recently, associated was Thread[MessageListenerThreadPool : 1,5,main]. The stack trace of this thread when the timeout occurred was:
      java.lang.Throwable.getStackTraceElement(Native Method)
      java.lang.Throwable.getOurStackTrace(Throwable.java:591)
      java.lang.Throwable.getStackTrace(Throwable.java:582)
      sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.apache.log4j.spi.LocationInfo.&lt;init&gt;(LocationInfo.java:139)
  </code></pre>
  
  <p>I've configured the maximum size of the WMQCommonServices thread pool in the application server, as shown <a href="http://www-01.ibm.com/support/docview.wss?uid=swg21317935" rel="nofollow">here</a></p>
  
  <p>1- Click Servers > Server Types > WebSphere Application Servers > server name.</p>
  
  <p>2- Under Additional Properties, click Thread pools> WMQCommonServices.</p>
  
  <p>3- Update the value of the Maximum size field to the relevant value and click OK.</p>
  
  <p>4- Click Save and restart the application server.</p>
  
  <p>But I still facing the problem with listener port connection timeout</p>