12 Replies Latest reply on Dec 2, 2014 2:37 AM by Kannan g krishnan

    There are no known Business Administrators, task cannot be created according to WS-HT specification

    Kannan g krishnan Newbie

      Hi

       

      I am having a jbpm project. I converted the login module to database login module. I can login with the database user but cannot assign task. For the custom UserGroupCallBack i have just modified the jbpm.usergroup.callback.properties file in jbpm-human-task-core-5.4.0.Final.jar inside the huma task war. The jboss can find the modifications. When i create a new task

      I got the server log as,

       

      15:34:55,419 ERROR [stderr] (Thread-120) org.jbpm.task.service.CannotAddTaskException: There are no known Business Administrators, task cannot be created according to WS-HT specification

       

      15:34:55,435 ERROR [stderr] (Thread-120)     at org.jbpm.task.service.TaskServiceSession.doCallbackOperationForPeopleAssignments(TaskServiceSession.java:1326)

       

      15:34:55,439 ERROR [stderr] (Thread-120)     at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:170)

       

      15:34:55,443 ERROR [stderr] (Thread-120)     at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)

       

      15:34:55,446 ERROR [stderr] (Thread-120)     at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)

       

      15:34:55,451 ERROR [stderr] (Thread-120)     at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)

       

      15:34:55,454 ERROR [stderr] (Thread-120)     at java.lang.Thread.run(Thread.java:722)

       

      15:34:55,457 ERROR [org.jbpm.task.service.TaskServerHandler] (Thread-120) There are no known Business Administrators, task cannot be created according to WS-HT specification: org.jbpm.task.service.CannotAddTaskException: There are no known Business Administrators, task cannot be created according to WS-HT specification

          at org.jbpm.task.service.TaskServiceSession.doCallbackOperationForPeopleAssignments(TaskServiceSession.java:1326) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:170) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43) [jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104) [jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]

       

      15:34:55,483 ERROR [org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler] (Thread-122) Fri Nov 28 15:34:55 IST 2014: Error when creating task on task server for work item id 76. Error reported by task server: There are no known Business Administrators, task cannot be created according to WS-HT specification: org.jbpm.task.service.CannotAddTaskException: There are no known Business Administrators, task cannot be created according to WS-HT specification

          at org.jbpm.task.service.TaskServiceSession.doCallbackOperationForPeopleAssignments(TaskServiceSession.java:1326) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:170) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43) [jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104) [jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]

       

      Why this is asking for the Business Administrators. How can i configure and resolve the problem??? Help me...

       

      Regards

      Kannan