cancel
Showing results for 
Search instead for 
Did you mean: 

What are the steps to deploy workflow engine and web editor

new-comer
Champ in-the-making
Champ in-the-making
Hi,

If I only need the BPM Engine and Web based editor, what are the steps and which files that I need to deploy the engine and editor to my application server, let's say JBoss app server.

Thanks in advance.
10 REPLIES 10

frederikherema1
Star Contributor
Star Contributor
To use the web-based modeler, you can just take the activiti-modeler war, located in the demo-setup webapps exploded, or in tomcat or in the activiti downloads folder (don't forget to remove the -5.3 from the filename 'activiti-modeler-5.3.war' in case you use the one in downloads).

If you only want to use the BPM-engine, you have multiple options. You can just deploy the activiti-rest webapp, to enable external access to the engine via REST. Another way is to use the activiti-engine in your webapp as a library. What do you exactly mean with 'deploying the BPM engine' ?

new-comer
Champ in-the-making
Champ in-the-making
Actually I would like to use it as a library inside my web app, so which jar should I include in my project?

If I use the engine as a library, is there any change to deploy the editor? Can I directly deploy the business process to the Engine?

Thanks.

new-comer
Champ in-the-making
Champ in-the-making
Thanks for your reply. Actually I would like to use it as a library inside my web app, so which jar should I include in my project?

If I use the engine as a library, is there any change to deploy the editor? Can I directly deploy the business process to the Engine?

Thanks again.

jbarrez
Star Contributor
Star Contributor
Actually I would like to use it as a library inside my web app, so which jar should I include in my project

Check the txt's you can find in /setup/files/dependencies. All dependencies of each component is listed there.

If I use the engine as a library, is there any change to deploy the editor? Can I directly deploy the business process to the Engine?

No, the editor is self-contained

new-comer
Champ in-the-making
Champ in-the-making
Thanks for your response.

But can I directly deploy the process from the web designer to BPM engine? Any tips?

Thanks,

jbarrez
Star Contributor
Star Contributor
No, you must take the file (xxx.bpmn20.xml) that de Modeler produces, and deploy it to the engine, see http://activiti.org/userguide/index.html#chDeployment

new-comer
Champ in-the-making
Champ in-the-making
Thanks for the input, it is useful.

One more question, can I run the database script on my existing database, e.g. MS SQL Server or Oracle? I believe the answer is yes, but where can I get the db scripts? and what settings that I need to consider other than data source in my web application?

Thanks in advance.

frederikherema1
Star Contributor
Star Contributor
Hi,

There is no reason why you should run the database-scripts manually. Pointing the engine to your oracle-datasource and starting it, should create the schema (if the engine property dataBaseSchemaUpdate = true).
See http://activiti.org/userguide/index.html#databaseConfiguration

Other settings for the engine are here: http://activiti.org/userguide/index.html#N102A0, most of them are quite trivial and the others are only for advanced usage.

new-comer
Champ in-the-making
Champ in-the-making
Yes, if we use the Activiti engine as a java library in my product, and we will need to create the database the same time as we create our own database, and from customer point of view, they want to know what we are doing with their database, so they would want to run the script themselves. So we would like to create the schema in the same data source with our product.

Please let me know if there is any docs that indicates this scenario.

Thanks a lot!