【发布时间】:2013-06-26 06:15:44
【问题描述】:
我们将应用程序部署在 Websphere Application Server 7.x 版上,并使用 Work 和 Timer Manager 分别创建容器管理的线程和计时器。
现在我们必须将我们的应用程序迁移到 IBM WebSphere Application Server Community Edition 3.0。在部署期间,我们的 web.xml 文件中的工作和时间管理器条目出现错误。我试图在网上搜索如何为 WASCE 配置这些,但找不到。我什至不确定 WASCE 是否存在这些。
如果有任何资源,请告知,或者您可以指导我正确的方向。
web.xml 中的条目如下:
<resource-ref id="ResourceRefBinding_tm">
<res-ref-name>tm/MYApp_TIMERMANAGER</res-ref-name>
<res-type>commonj.timers.TimerManager</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Unshareable</res-sharing-scope>
</resource-ref>
<resource-ref id="ResourceRefBinding_wm">
<res-ref-name>wm/MyApp_WORKMANAGER</res-ref-name>
<res-type>commonj.work.WorkManager</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
提前致谢
【问题讨论】:
标签: websphere application-server websphere-ce