Discussion:
[jboss-user] [jBPM] - Simple JBPM 5.4 inside JBoss AS 7.1.1 web app example.
doboss
2013-01-11 15:43:24 UTC
Permalink
doboss [https://community.jboss.org/people/doboss] modified the document:

"Simple JBPM 5.4 inside JBoss AS 7.1.1 web app example."

To view the document, visit: https://community.jboss.org/docs/DOC-48240

--------------------------------------------------------------
Attached is a simple Eclipse project which creates a deployable web app which contains all the basics to run JBPM 5.4 inside a web app ussing persistence. The project is deployed in a JBoss AS 7.1.1 server which was created using the JBPM 5.4 installer. This project uses PostgreSQL as the database. The JBPM process is read from a local Guvnor instance.

This example was created by combining a few other existing examples together and then adding some stuff I've figured out along the way.

Anyway, hopefully this will help get people going using JBPM in thier own web apps.

Here are the instructions which are also found in the web apps home page:

1. Install your jdbc drivers into your JBoss AS installation. (I did mine as a module following https://community.jboss.org/docs/DOC-16657#Installing_a_JDBC_driver_as_a_module this.)
2. Create a new empty database/schema called "testJBPM" in your database with permissions for a user "jbpm" and password "jbpm". (If you are not using PostgreSQL or want to change the connection information, update jbpm-in-webapp-ds.xml)
3. Create a new package in Guvnor called "testPackage". (Change the URL in KBaseService and the packageName in ScriptTeask.bpmn if you want to use a different package name)
Loading...