Monday, May 6, 2013

jBPM 6.0 Beta2 available

For developers that want to have a sneak peak at what's coming in jBPM 6.0, we've just released jBPM 6.0.0.Beta2.  We've added several large improvements:
  • jbpm-console, our web-based management console (where you can start new process instances, complete your task list, etc.) has been redesigned completely

    • new task UI
    • new process instance management UI

    • one web application that combines the entire life cycle (process modeling, deployment, execution and monitoring) into one web application
    • based on UberFire, which provides a configurable and pluggable workspace
  • RuntimeManager allows you to easily get access to a ksession and/or task service without needing to worry about how to create the session, where to find it, how to link it to the task service, etc.  There are predefined strategies for:
    • singleton: one singleton session is used to execute all requests
    • session per request: a new session is used for each request (and destroyed afterwards)
    • session per process instance: each process instance has its own session context, all commands for that process instance are automatically executed in that context

  • jbpm-services: core engine exposed as a service that can be deployed in a clustered environment, with lots of smaller improvements as well:
    • timer service that will be able to handle timers in a clustered environment and automatically restore the appropriate sessions if timers need to be fired
    • instead of using the process instance id as the unique identifier of one specific process instance, you can also correlate with your own business key now
    • history logging has been extended to log additional information and an asychronous logger (using JMS) is available as well
    • all services are exposed using CDI
    • ! Note that remoting capabilities using REST / JMS are currently not available yet in Beta2 but will be available soon
  • The Guvnor repository has been refactored:
    • The repository back-end is implemented using a Virtual File System (VFS) with a git back-end as the default implementation.  This allows you to connect to your repository taking advantage of all the features that GIT provides out-of-the-box.
    • The repository now uses maven to build all the processes, rules, models, forms etc. in your projects and produces kjars (knowledge jars).  These kjars can be treated as normal maven dependencies in your projects and the repository exposes itself as a maven repository as well.
  • A Dashboard web application can be used to monitor your system and generate meaningful reports.  Some default reports are available out-of-the-box (showing information about running process instances, outstanding tasks, etc.), but the tool can also be used to combine those with your own business datam create your own KPIs and customized reports.

  • Improved exception handling when performing service tasks, where the process that requested the service could be notified using a combination of techniques, including boundary events, event sub-processes, intermediate events, etc.
  • The new Eclipse BPMN2 Modeler replaced the old BPMN2 editor and has been extended to support a lot more constructs.  Designer has been updated accordingly as well.
  • Designer now supports the BPSim 1.0 specification for simulating your processes.
You can download the installer from here and follow the installer documentation and screencasts (below) to get your first processes running, both in Eclipse (for developers and in the web (for business analysts or even end users as well).



Note that this is a beta release, so unfortunately, most of the documentation is still missing, and there probably are some rough edges and/or bugs in there.  But do give it a try and let us know, so we can try to still improve these.


16 comments:

  1. Could you tell me about when jBPM 6.0 officially release?

    ReplyDelete
  2. There should be a CR1 in a few weeks (June 21st), 6.0 should be two weeks after that (assuming all goes well).

    ReplyDelete
  3. today 24th July, I can't get CR1 6.0 release. when should we expect it ?

    ReplyDelete
    Replies
    1. CR1 is being released right now, I'll upload it to the website early next week (but you can probably find it on jboss maven repo earlier).

      Delete
  4. Hi Kris,

    I could not find drools-guvnor jbpm6? is it discontinued?

    ReplyDelete
  5. No, we merged different web applications into one war (called kie-wb), or is you use the installer it's deployed as jbpm-console. So there's only one console, supporting both the authoring and runtime.

    ReplyDelete
  6. Hi Kris,
    When I execute ant start.demo the jbpm-console is not deployed the console shows me this error, can you help me please

    Unable to create repository with alias jbpm-playground due to WELD-000049 Unable to invoke [method] @PostConstruct public org.uberfire.backend.server.repositories.RepositoryServiceImpl.loadRepositories() on org.uberfire.backend.server.repositories.RepositoryServiceImpl@1167e58

    ReplyDelete
    Replies
    1. jbpm-playground is a sample repository it is trying to download (upon deployment). Do you have internet access at that point? Might a firewall be blocking access to github?

      Kris

      Delete
    2. This comment has been removed by the author.

      Delete
    3. I get the same on CR2:

      16:50:40,279 WARN [org.jbpm.console.ng.bd.backend.server.AdministrationServiceImpl] (MSC service thread 1-1) Unable to create repository with alias jbpm-playground due to org.eclipse.jgit.api.errors.TransportException: https://github.com/guvnorngtestuser1/jbpm-console-ng-playground-kjar.git: cannot open git-upload-pack
      16:51:02,090 WARN [org.jbpm.console.ng.bd.backend.server.AdministrationServiceImpl] (MSC service thread 1-1) Unable to create repository with alias uf-playground due to org.eclipse.jgit.api.errors.TransportException: https://github.com/guvnorngtestuser1/guvnorng-playground.git: cannot open git-upload-pack
      16:51:02,353 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."jbpm-console.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-console.war".WeldService: org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:
      Exception 0 :
      org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.kie.workbench.backend.AppSetup.assertPlayground() on org.kie.workbench.backend.AppSetup@2879901d


      but I'm in the office, behind a firewall. I'll try at home, and probably succeed.

      but, it seems to me kind of unusable if the jbpm-console war would fail because of a missing internet connection. those playground errors should be ignored, I think.

      Delete
    4. I went home, and didn't receive the error anymore! Yay! but then it still didn't deploy. :( with a different error.
      19:03:28,444 WARN [org.jbpm.console.ng.bd.backend.server.AdministrationServiceImpl] (MSC service thread 1-4) Unable to create repository with alias jbpm-playground due to null
      19:03:28,710 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."jbpm-console.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-console.war".WeldService: org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:
      Exception 0 :
      org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.kie.workbench.backend.AppSetup.assertPlayground() on org.kie.workbench.backend.AppSetup@30653b38

      not sure what 'null' means in this case. too bad. jbpm6 looks very nice.

      Delete
    5. I must say, that I was finally able to CR2 running, but notably, not from a work firewall environment. From home I was, after receiving these errors, but I had to run: ant install.clean, and then run the demo install once more, and it worked.

      I'm liking it, but finding the navigation around the KIE Workbench a little bit rough at first. I hope to make more sense of it as I work with it a bit more.

      Delete
  7. Hi Kris,
    Can you tel me how to setup a cluster environment in jbpm 6 ?

    ReplyDelete
  8. Hi Kris,

    Is there any work around for these error, considering no internet connection ?

    ReplyDelete
  9. Hi Kris,
    I've a process which I've created in Eclipse and executed and persisted in JBPM6. I can see the process instance in jbpm-console and the states, but I cannot see the model.
    I've tried placing the process.PNG in
    1) jbpm-console.war/WEB-INF/classes/process.PNG
    2) jbpm-console.war/WEB-INF/classes/package.process.PNG
    3) jbpm-console.war/WEB-INF/classes/process-image.PNG
    4) jbpm-console.war/WEB-INF/classes/package.process-image.PNG
    and yet i couldn't still see the process model in the console.
    What am I doing wrong? Help required urgently.

    server is JBPM6 on JBOSS7.1.1 with the default H2 database

    ReplyDelete
  10. I really liked your Information. Keep up the good work. Business Process Management

    ReplyDelete