【问题标题】:WebSphere 7 invoking multiple threads in Struts 1.2WebSphere 7 在 Struts 1.2 中调用多个线程
【发布时间】:2015-06-07 04:44:01
【问题描述】:

下载报告间歇性失败。前端错误:内部服务器错误 - 500。

单击下载后,控件转到操作类。有时在大约之后。一分钟后,另一个线程在没有任何前端操作的情况下自动调用,然后两个线程在前端抛出 500 Server 错误的操作类中运行。

有人遇到过这样的问题吗?

Struts 配置 sn-p:

<action input="/Report_Selection.jsp" name="ReportForm" path="/report" scope="session" type="com.ReportAction">
    <forward name="Download" path="/DownloadReportAction.do"/>
    <forward name="failure" path="/Report_Selection.jsp"/>
    <forward name="exception" path="/Error.jsp"/>
</action>
<action name="ReportForm" path="/DownloadReportAction" scope="session" type="com.DownloadReportAction">
</action>

【问题讨论】:

    标签: thread-safety websphere threadpool struts-1 critical-section


    【解决方案1】:

    好的,经过几天的努力解决了... 罪魁祸首是 plugin-config.xml 中的一个设置(ServerIOTimeout)

    【讨论】:

      猜你喜欢
      • 2014-04-27
      • 1970-01-01
      • 2014-04-19
      • 1970-01-01
      • 1970-01-01
      • 2017-10-05
      • 1970-01-01
      • 2018-09-12
      • 2013-08-06
      相关资源
      最近更新 更多