3 Replies Latest reply on Feb 19, 2012 10:29 AM by Bala Murugan

    JBoss configuration for WorkManager

    Alexandre Petrillo Newbie

      Hi, i'm not sure than my topic is in the rigth position in this forum, and sorry for my medium english.
      I tru to use the WorkManager with jboss version 4.0.x.
      For the moment is a Servlet who using the workManager, so i write on the web.xml file :

       <resource-ref>
       <res-ref-name>wm/MyWorkManager</res-ref-name>
       <res-type>javax.resource.spi.work.WorkManager</res-type>
       <res-auth>Container</res-auth>
       <res-sharing-scope>Shareable</res-sharing-scope>
       </resource-ref>
      

      And of course i have the error:
      Caused by: javax.naming.NamingException: resource-ref: wm/MyWorkManager has no valid JNDI binding. Check the jboss-web/resource-ref.
      

      I think i need to create a WorkManager instance with the web admin console of Jboss server but i cannot do it.