[jBPM] - jBPM 5.4 released !
by Kris Verlaenen
Kris Verlaenen [https://community.jboss.org/people/KrisVerlaenen] created the discussion
"jBPM 5.4 released !"
To view the discussion, visit: https://community.jboss.org/message/778581#778581
--------------------------------------------------------------
http://kverlaen.blogspot.be/2012/11/jbpm-54-released.html http://kverlaen.blogspot.be/2012/11/jbpm-54-released.html
We are proud to announce the release of *jBPM 5.4.0.Final*.
The bits were ready more than a week ago already (and looking at the download statistics quite a few of you already found them ;)), but a busy travel schedule made it difficult to complete the work and announce everything. But here it is !
*Downloads*:
https://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/ https://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/
*Documentation*:
http://docs.jboss.org/jbpm/v5.4/userguide/ http://docs.jboss.org/jbpm/v5.4/userguide/
*API and JavaDocs*:
http://docs.jboss.org/jbpm/v5.4/javadocs/ http://docs.jboss.org/jbpm/v5.4/javadocs/
The +jBPM installer+ is probably the best way to get started. Download the http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/jbpm... full installer and follow the documentation http://docs.jboss.org/jbpm/v5.4/userguide/ch.installer.html here to walk through some of the most important components.
So what's new?
*Simulation*
We've added simulation capabilities to the web-based process designer, that allows you to simulate how a process might behave at runtime. This includes the addition of various simulation-related properties (like resources and duration-related attributes for tasks, and probabilities for diverging gateways etc.). Our implementation is based on the specification created by the http://code.google.com/p/bpswg/ BPSWG (Business Process Simulation Working Group).
Based on these properties, you can run a number of instances of your process and:
* Use the path finder to look at all identified paths
* Look at the generated charts containing information about minimal, maximum and average completion times, etc. using (horizontal and vertical barcharts, pie charts or tables.
* Check the timeline to get an overview of all the recorded events
Maciej did a http://mswiderski.blogspot.be/2012/08/simulation-in-jbpm-draft.html blog recently on the ideas and concepts behind it, and Tihomir did a http://surdilovic.wordpress.com/2012/09/13/business-process-simulation-in... blog, including a 12-minute video, that shows simulation in action.
*Local task service*
When human actors participate in a business process (also known as human workflow), a task service is used to manage the life cycle of the tasks (claiming, completing, task lists, etc.). While we supported the use of a centralized task service (using HornetQ for remoting), we now also support a +local+ version that runs as a simple Java component next to the engine and all the work it does is synchronous and nicely integrated with the transaction of the process engine.
org.jbpm.task.service.TaskService taskService = new org.jbpm.task.service.TaskService( emf, SystemEventListenerFactory.getSystemEventListener()); LocalTaskService localTaskService = new LocalTaskService(taskService); LocalHTWorkItemHandler humanTaskHandler = new LocalHTWorkItemHandler( localTaskService, ksession, OnErrorAction.RETHROW); humanTaskHandler.connect(); ksession.getWorkItemManager().registerWorkItemHandler( "Human Task", humanTaskHandler);
*Spring*
We have improved our http://docs.jboss.org/jbpm/v5.4/userguide/ch.integration.html#d0e7839 Spring support, where you can use a Spring configuration file to configure your environment and inject a ksession and/or task service into your application code. For transactions, it integrates with the Spring transaction manager, supporting both JTA and RESOURCE_LOCAL with shared entity manager factory (emf) or shared entity manager (em).
*JPA2*
jBPM runtime persistence can now also use JPA2 for persistence. That means it is completely independent of the underlying persistence provider (we use Hibernate by default but other persistence providers should be possible as well). You can use Hibernate4 with JPA2 for even better performance. For all the details on how to do this, here's a link to a persistence configuration file for both https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/jbpm-per... JPA1 and https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/jbpm-per... JPA2.
*Some of the other features*
* Improvements on some of the BPMN 2.0 constructs in the core engine, related to error events, terminating end events in sub processes,
* Introduction of a business calendar related to timers etc.
* The ability to start a process by name, which will automatically start the latest version of that process.
* We created separate wars for EE6 (AS7) and EE5 (AS5) to avoid a lot of manual dependency management. JBoss AS 7.1.1 is now the new default application server in the installer.
* Improved support for invoking web services from inside your processes.
* A database-backed solution for managing which users are part of which group (UserGroupCallback).
* When configuring handlers for domain-specific services, the ksession is automatically injected as an optional constructor parameter in the handler configuration file.
The details on all fixed issues and new features can be found in detail in https://issues.jboss.org/browse/JBPM JIRA.
jBPM 5.4.0.Final has been released in sync with the latest http://blog.athico.com/2012/11/drools-550final-released.html Drools 5.5.0.Final release.
If you have any questions / issues, let us know:
* Ask questions on IRC: chat.freenode.net:6667 #jbpm (there is a web-based client available http://webchat.freenode.net/ here)
* Create a JIRA issue: https://issues.jboss.org/browse/JBPM https://issues.jboss.org/browse/JBPM
* Ask the community in the https://community.jboss.org/community/jbpm?view=discussions forum
The jBPM team
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/778581#778581]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - Integrating jBPM 5 into web application - architecture
by Pedro Gonçalves
Pedro Gonçalves [https://community.jboss.org/people/pgoncalves] created the discussion
"Integrating jBPM 5 into web application - architecture"
To view the discussion, visit: https://community.jboss.org/message/736299#736299
--------------------------------------------------------------
Hello,
I've been trying to integrate the jBPM5 into my own web app, but I've some doubts about how to make it.
My processes are mostly composed by Human Actions, which make them long running processes.
My problem is similar to the one discribed here: https://community.jboss.org/message/636561#636561 https://community.jboss.org/message/636561#636561
I've already configured jBPM to use persistense and I was able to start processes (building kbase, ksession, taskService, etc.). But everytime I start a process, or try to list the started processes I create a new entry on SessionInfo (in the database), and I got a empty list of started processes (I've 2 process instances holding a human action).
* It is clear to me that I'm not managing the sessions properly, my question is, what is the best way to do it? :p
* Does jBPM5.3 brings any improvement on this?
* What are the best practices regarding the use of the kbase, ksessions, taskServices, etc.
Thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/736299#736299]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - JBPM 5.2 console can't get any Guvnor Process Definition
by Rogelio Di Pasquale
Rogelio Di Pasquale [https://community.jboss.org/people/roger0681] created the discussion
"JBPM 5.2 console can't get any Guvnor Process Definition"
To view the discussion, visit: https://community.jboss.org/message/646993#646993
--------------------------------------------------------------
I'm using
jbpm-5.2.0.Final
jbpm-5.2.0.Final-gwt-console
guvnor-distribution-wars-5.3.1.Final
on
jboss-as-7.0.1
I could create process definitions in Eclipse, add them to Guvnor, build the package, create snapshots, etc. But when trying to see process definitions in jbpm-console, I just see nothing.
If I try using the rest api ( http://127.0.0.1:8080/gwt-console-server/rs/process/definitions http://127.0.0.1:8080/gwt-console-server/rs/process/definitions), I get:
{"definitions":[]}
(and JBoss logs says that parsed 0 process definitions).
I've made several packages in Guvnor, and jbpm-console seems to be trying to parse processes from all of them, but keeps saying he got 0 processes to parse.
Here I upload a list of assets obtained from the Guvnor's rest api ( http://127.0.0.1:8080/drools-guvnor/rest/packages/defaultPackage/assets http://127.0.0.1:8080/drools-guvnor/rest/packages/defaultPackage/assets).
Should jbpm-console see any process? What does a process definition look like in the rest API when it is parseable by jbpm-console?
Thanks a lot,
Roger
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646993#646993]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - Why JBPM5.4 full installer demo keeps writing Creating RulesRepository in server.log?
by Thomas Setiabudi
Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion
"Why JBPM5.4 full installer demo keeps writing Creating RulesRepository in server.log?"
To view the discussion, visit: https://community.jboss.org/message/777946#777946
--------------------------------------------------------------
Hi,
I use jbpm5.4 Full installer, run ant install.demo, then ant start.demo,
I try to open JBPM-console, login as krisv/krisv, get personal task list, logout, and then close my browser.
I observe server.log and every once in a while it makes log entry like this,
19:31:23,079 WARN [org.drools.guvnor.server.repository.RulesRepositoryManager] (http-localhost-127.0.0.1-8080-2) Creating RulesRepository with default username.
19:31:23,079 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-60
19:31:23,095 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-60
19:31:33,095 WARN [org.drools.guvnor.server.repository.RulesRepositoryManager] (http-localhost-127.0.0.1-8080-2) Creating RulesRepository with default username.
19:31:33,095 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-61
19:31:33,111 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-61
What is that? and who triggers it?
Regards,
Thomas Setiabudi
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/777946#777946]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months