Websphere MQ Connection超时

时间:2015-10-25 18:39:22

标签: java websphere database-connection ibm-mq connection-timeout

我正在使用WAS WebSphere和IBM MQ。我的应用程序必须解析放入队列的消息,然后将解析后的数据插入数据库(DB2)。在将一些大消息放入队列之前,它工作正常。消息已成功解析,但当应用程序开始插入数据库时​​,监听器端口被以下错误停止:

[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.<init>(LocationInfo.java:139)

我已在应用程序服务器中配置了WMQCommonServices线程池的最大大小,如here所示

1-单击服务器&gt;服务器类型&gt; WebSphere Application Server&gt;服务器名称。

2-在“其他属性”下,单击“线程池”&gt; WMQCommonServices。

3-将“最大大小”字段的值更新为相关值,然后单击“确定”。

4-单击“保存”,然后重新启动应用程序服务器。

但我仍然面临侦听器端口连接超时的问题

0 个答案:

没有答案