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

dbreaux
  • 4,982
  • 1
  • 25
  • 64
pranav
  • 421
  • 1
  • 11
  • 27

1 Answers1

1

WebSphere Application Server has proprietary implementation of Timer and Work Manager API. This API is covered by JSR 237: Work Manager for Application Servers that was withdrawn and replaced by JSR 236: Concurrency Utilities for JavaTM EE (part of Java EE 7). The API is not included in WebSphere Application Server Community Edition.

For alternatives to Timer Manager please see CommonJ TimerManager versus EJB3 TimerService

Community
  • 1
  • 1
ᄂ ᄀ
  • 5,669
  • 6
  • 43
  • 57
  • Thanks fnt... As i can see from the web.xml file we are using the commonj's Timer are and Work manager. Have edited the entries above.. To configure it we were using websphere default Work and Time Manager and give the entries in xmi bnd file and web.xml. Is there a similar way to configure the commonj's Time and Work managers with WAS community edition? – pranav Jun 26 '13 at 07:50
  • If that was not clear from my answer: Timer and Work Manager API is **not** supported in WAS CE. WAS CE has codebase completely different from "regular" WAS (Apache Geronimo). You should look into alternatives. – ᄂ ᄀ Jun 26 '13 at 09:13