webSphere中的错误WTRN0006W - 事务在120秒后超时 - 在JBoss和Tomcat中一切正常

时间:2015-05-28 07:52:39

标签: oracle view timeout websphere

我有一个很大的谜语。 代码,我修改了不干净 - sql生成为字符串(超过100行的SQL代码)等... 我将一个大的SQL查询移动到oracle视图,在Java代码中我快速选择视图。 它在JBoss和Tomcat上运行良好。 另一方面,在WebSphere(由客户端使用)中,在视图中选择后出现错误。

[5/22/15 12:20:24:043 CEST] 00000022 TimeoutManage I   WTRN0006W: Transaction 0000014D7B2185A800000002000001B660A70E3F35C49F79E7F2FBE65BD336F30DB8D5FC0000014D7B2185A800000002000001B660A70E3F35C49F79E7F2FBE65BD336F30DB8D5FC00000001 has timed out after 120 seconds.
[5/22/15 12:21:14:042 CEST] 00000056 WebApp        E   [Servlet Error]-[action]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: 
    at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:553)
    at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:994)
    at pl.com.max.primer.action.ajax.BaseAjaxAction.execute(BaseAjaxAction.java:78)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at pl.com.max.primer.plugin.RequestProcessor.process(RequestProcessor.java:135)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

1 个答案:

答案 0 :(得分:1)

您的查询执行时间超过120秒。也许JBoss或Tomcat中的最大事务超时更高。您必须验证为什么此查询花了这么长时间并尝试加快速度。如果不可能,您可以通过管理控制台延长交易超时。

点击Servers > Server Types > WebSphere application servers > server_name.然后点击Container Services > Transaction Service。并设置Maximum transaction timeout

请点击此处了解详情:Configuring transaction properties