0

We were having our application deployed on Websphere Application Server ver 7.x and were using Work and Timer Manager for creating container managed threads and timer respectively.

Now we have to move our application to IBM WebSphere Application Server Community Edition 3.0. During deployment we are facing errors for Work and Time manager entries in our web.xml file. I tried to search on net how to configure these for WASCE but could not find one. I am not even sure that these exists for WASCE or not.

Please inform if there are any resources or you can guide me in correct direction.

The entries in web.xml are as below:

<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>

Thanks in advance

4

1 回答 1

1

WebSphere Application Server 具有 Timer 和 Work Manager API 的专有实现。此 API 包含在JSR 237:应用程序服务器的工作管理器中,该标准已被JSR 236:JavaTM EE 的并发实用程序(Java EE 7 的一部分)撤消并取代。该 API 不包含在 WebSphere Application Server Community Edition 中。

有关 Timer Manager 的替代方案,请参阅CommonJ TimerManager 与 EJB3 TimerService

于 2013-06-26T06:40:41.837 回答