[jBPM] - Guvnor stability
by Renzo Tomaselli
Renzo Tomaselli [http://community.jboss.org/people/Tomarenz] created the discussion
"Guvnor stability"
To view the discussion, visit: http://community.jboss.org/message/619570#619570
--------------------------------------------------------------
Hi, I'm trying to understand the source of an unstable behavior in Guvnor.
Yesterday I was editing the (only one) process in the repository.Then I suspended my laptop.
Today, after resuming, I cannot proceed, since:
- drools-guvnor, upon trying to list processes, says "Sorry, a technical error occurred. Please contact a system administrator". No process shown.
- console, upon trying to list processes, waits for a while then it reports a request timeout. No process listed.
Log is:
2011-08-05 08:51:28,530 [DEBUG] New subscription: appContext.model.listener -> mailto:org.jboss.bpm.console.client.task.AssignedTasksView$7@11f org.jboss.bpm.console.client.task.AssignedTasksView$7@11f
2011-08-05 08:51:29,018 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/tasks/krisv http://localhost:8080/gwt-console-server/rs/tasks/krisv
2011-08-05 08:51:30,709 [DEBUG] parse {"tasks":[]}
2011-08-05 08:51:30,716 [INFO ] Loaded 0 tasks
2011-08-05 08:51:41,379 [DEBUG] ToolID: Process_Overview.4
2011-08-05 08:51:41,492 [DEBUG] New subscription: appContext.model.listener > mailto:org.jboss.bpm.console.client.process.DefinitionListView$5@14b org.jboss.bpm.console.client.process.DefinitionListView$5@14b
2011-08-05 08:51:42,029 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definitions http://localhost:8080/gwt-console-server/rs/process/definitions
2011-08-05 08:52:02,035 [ERROR] <ul><li>URL: ' http://localhost:8080/gwt-console-server/rs/process/definitions http://localhost:8080/gwt-console-server/rs/process/definitions'
<li>Action: 'org.jboss.bpm.console.client.process.UpdateDefinitionsAction'
<li>Exception: 'class java.io.IOException'</ul>
Request timeout
java.io.IOException:
Request timeout
at Unknown._Hb(Unknown source:0)
at Unknown.xzc(Unknown source:0)
at Unknown.cy(Unknown source:0)
at Unknown.anonymous(Unknown source:0)
at Unknown.HA(Unknown source:0)
at Unknown.anonymous(Unknown source:0)
at Unknown.anonymous(Unknown source:0)
2011-08-05 08:52:21,498 [FATAL] Uncaught Exception:
java.lang.IllegalArgumentException:
must be positive
Then I stopped/restarted jboss (ant stop.demo/ant start.demo). Same result afterwards.
Is there any other log to look at ? Any other action I might take ?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/619570#619570]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[jBPM] - asynchronous web service call process correlation
by Tobias Wittur
Tobias Wittur [http://community.jboss.org/people/tob1as] created the discussion
"asynchronous web service call process correlation"
To view the discussion, visit: http://community.jboss.org/message/619881#619881
--------------------------------------------------------------
Hello,
I have been fiddling around with jBPM for a bit and still got some questions concerning web services.
In the given scenario, different jbpm process instances send messages (asynchronous) to one or more ERP systems.
http://community.jboss.org/servlet/JiveServlet/showImage/2-619881-16847/C... http://community.jboss.org/servlet/JiveServlet/downloadImage/2-619881-168...
1) How can I be sure, that the right process instance receives the right message back from the ERP? How does correlation work in jBPM?
2) What is the best practice for web-service calls in jBPM ?
I understood that I would have to define a service task that uses a work items. I guess I would need to import my own webservice class into the work item handler and return an output variable. Is there a webservice runtime layer, that jBoss offers as part of its enterprise stack? Something that manages the previously states problem?
Also, lets imagine the server with jBPM crashs after a web service call was sent away and it reboots. Is there something that makes sure that the web service will be invoked again, once the system is up and running again?
I only found the following:
http://community.jboss.org/docs/DOC-13531 http://community.jboss.org/wiki/JBossWS-GuidedTour
http://docs.jboss.org/tools/3.0.0.Beta1/en/ws_ref_guide/html/topdown.html
3) How can I trigger a process instance through a web service call?
Is there something like a message start event? I understand there is a REST API that exposes the engine. However, if I want to pass a big message body to a process instance creation, how would I do this?
Best regards,
Tobias
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/619881#619881]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months