[jBPM] - Your idea to design this case
by Ouadi BELMOKHTAR
Ouadi BELMOKHTAR [https://community.jboss.org/people/ouadi_dev] created the discussion
"Your idea to design this case"
To view the discussion, visit: https://community.jboss.org/message/822040#822040
--------------------------------------------------------------
Hi Guys,
I am developing a workflow web-based application, the simplification of BPMN2 process definition is :
The first human task is assigned to *Maker* actor.
Then the second human task is assigned to *Checker* actor.
Currency can take : *OnInstance* or *Validated* states in database.
Maker actor complete his HumanTask after adding a new currency across a JSF form, after that, the currency take the OnInstance state in database.
After Checker actor connect to the application, hi has a list of assigned HumanTask in combination with currencies data that are OnInstance state (already added by Maker actor), by clicking on a currency item in the list, the checker actor is forwarded to a JSF page in order to validate this currency, his assigned HumanTask must be completed at the same time of submitting the currency validation JSF form.
*The problem is, how to associate each Currency that is OnInstance state with Checker HumanTask, in order to complete his HumanTask at the same time of validating the selected currency in the list ?*
The completion of checker HumanTask and validation of currency must be done at the same time, *THEN we must define a mechanism in order to associate the currency just added by Maker actor with checker assigned humanTask created by jBPM engine across wish he will validate this currency. *
So, this association must be done just after the Maker actor add a new currency and completing his HumanTask.
*So, we must consider when the Maker actor added several currencies in one time, in this case, several HumanTask will be assigned to Checker actor by the jBPM engine.*
Thanks in advance
Ouadi,
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/822040#822040]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 6 months
[jBPM] - Task assign + LDAP
by aemdtuc
aemdtuc [https://community.jboss.org/people/aemdtuc] created the discussion
"Task assign + LDAP"
To view the discussion, visit: https://community.jboss.org/message/822013#822013
--------------------------------------------------------------
I´m having a problem regarding task assignment in jBPM 5.4
My actual system has:
- JBPM Console with LDAP
- GUVNOR with LDAP
- Human Task with LDAP
However when JBPM requires access to GUVNOR, using a LDAP fixed user (Now has my LDAP credentials) defined in:
- jbpm-installer\conf\default.jbpm.console.properties
The application is working well with this configuration and you can start a process. However the new task is not assigned to the indicated group and the error is:
14:03:38,663 ERROR [org.jbpm.task.service.TaskServerHandler] (Thread-69) 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_17]
14:03:38,704 ERROR [org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler] (Thread-107) Fri Jun 07 14:03:38 CEST 2013: Error when creating task on task server for work item id 15. 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_17]
My question is regarding a possible solution to this error or another alternative to communicate GUVNOR and the JBPM CONSOLE using both LDAP connections.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/822013#822013]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 6 months
[JBoss Web Services] - Problem on EAP 6.1/JBoss AS 7.2 from AS 7.1.1
by John Ament
John Ament [https://community.jboss.org/people/meetoblivion] created the discussion
"Problem on EAP 6.1/JBoss AS 7.2 from AS 7.1.1"
To view the discussion, visit: https://community.jboss.org/message/821998#821998
--------------------------------------------------------------
Hi all
I'm testing my app locally, where we've been using AS 7.1.1 for a while. The idea is to beable to drop this in as a replacement for our AS 7.1.1 runtime, since we're eventually going to target EAP for our runtime.
I found an issue around web services. One of our clients, which sends data to us, includes the following soap action: SOAPAction=["urn:anonRobustOpResponse"] or SOAPAction=["urn:anonNoOpResponse"]. IN AS 7.1.1 these actions were accepted. However in AS 7.2/EAP 6.1 they are not being accepted, with the following exception:
11:01:06,039 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http-/0.0.0.0:8082-1) Interceptor for { http://registration.webservices.com/ http://registration.webservices.com/}RegistrationWebService
Service#{ http://registration.webservices.com/ http://registration.webservices.com/}InviteSupplier has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: The given SOAPAction urn:anonRobustOpResponse does not match an operation.
at org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor$SoapActionInAttemptTwoInterceptor.handleMessage(SoapActionInInterceptor.java:188)
at org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor$SoapActionInAttemptTwoInterceptor.handleMessage(SoapActionInInterceptor.java:162)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) [cxf-api-2.6.6-redhat-3.jar:2.6.6-redhat-3]
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-api-2.6.6-redhat-3.jar:2.6.6-redhat-3]
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:95)
at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)
at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:225)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)
at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
The client is using axis2 for their runtime. Any thoughts on how to allow CXF/JBoss WS to accept this action?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/821998#821998]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 6 months
[jBPM] - Log errors in Guvnor - Designer
by Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion
"Log errors in Guvnor - Designer"
To view the discussion, visit: https://community.jboss.org/message/821804#821804
--------------------------------------------------------------
Hi People!
I am using Guvnor 5.3 and designer 2.4.Final
I see that in this version, designer has some simulation things that I am not using. However, I see that it adds to the BPMN things like this:
<drools:ElementParameters xsi:type="drools:ElementParameters_._type" elementId="_B69BCA11-2829-4692-884D-9C0E51F7ACE1" id="_G5nMUsbEEeKniLo-16rylA">
<drools:TimeParameters xsi:type="drools:TimeParameters">
<drools:ProcessingTime xsi:type="drools:Parameter">
<drools:RandomDistribution max="0.0" min="0.0"/>
</drools:ProcessingTime>
<drools:TimeUnit>ms</drools:TimeUnit>
</drools:TimeParameters>
<drools:CostParameters xsi:type="drools:CostParameters">
<drools:UnitCost xsi:type="drools:Parameter">
<drools:DecimalParameter value="0"/>
</drools:UnitCost>
</drools:CostParameters>
</drools:ElementParameters>
I have these files in guvnor, and when I build the package I get hundreds of logs like this:
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 399, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 405, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 406, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 407, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 412, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 413, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 414, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 419, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 420, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 425, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 426, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 427, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
06:33:27,893 INFO [stdout] (http--127.0.0.1-8080-2) (null: 432, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Does someone knows how to fix it??
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/821804#821804]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 6 months