Implement Bonita into Java EE Application


I am very new to Bonita.

I am trying to implement a Bonita process into a Java EE Application and deploy it to the Bonita Wildfly.

I have found the simple Example that connects to the running Bonita instance but when I deploy it as an ear file to my wildfly instance nothing happens. I cant see any output logs. Thats why I am curious if my Program is even running.

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;

Java Engine API Error - LocalDate serialization

Hi guys,

As my colleague said (in french here ), we have an unexpected behavior with the Java API for Bonita 7.5.

When trying to start a new process with a LocalDate in the contract, we have the following error :
Error while validating expected inputs: [java.time.Ser@271a6dc7 cannot be assigned to LOCALDATE]

I created a new Definition process, taking only 'myDate' LOCALDATE in the initialization contract

Groovy - Error while communicating with the engine.

Hi there,

I have a java program that works perfectly with postgres driver 9.2, and it also works in my groovy scripts except one.

Here is my code:

Basically I am trying to upload the document d1 to postgres as a byte[]. This works in java but I cannot get it to work in groovy, which it should.

Any ideas? Thanks in advance. Seán

Integrate a Bonita BPM process in a Java Client

Hi there,

Problem with working out how to integrate a java client with a Tomcat portal as per instructions Integrate a process into an application .

Here is what I've done so far:

groovy : org.bonitasoft.engine not found ?


i get error when i try to import org.bonitasoft.engine..... in groovy

do you no why ?

thank you

How to print custom connector's data into engine log

hello , i m total new in this environment . i try to make one connector which just print hello word . but system.out.println not working .

so how can i print hello word on that engine log on finish task

Pl help thanks in advance


Custom javascript ondblclick on table row -> registration of selection to bonita engine

Hi Everybody,

I made a custom ondblclick on a table. When a double-click is done on the table row, the row must be selected and then the page needs to be submitted.

For now I have the following:

1: I put in the next-button a custom class named "submitButton" 2: on the table widget I put into the Options->Html attributes a onmouseover event:

onmouseover="$('tr', this).off('dblclick').dblclick(function(){ var selected = $('td', this).eq(0).text(); alert(selected); $(this).addClass('bonita_form_table_selected'); $('.submitButton').trigger( 'click' );});"

elias.ricken's picture

This page contains an example of how to create and run a process using the Bonita BPM Engine in a Maven project. It assumes that you are a Java programmer familiar with using Maven. It shows how to initialize the Bonita platform using a Java program and the Bonita BPM Engine API, and then create and execute processes using the same API.

Releases for Create your first project with Maven - Example

Total downloads: 1 608
Version BonitaBPM Version Post date Download Link
1.0.0 6.2.x 2014-Jan-09 Download
Release note

Problem with bonita engine - Hibernate transactions - Deadlock

Hello community, firstable sorry for my english.
We have issues with our process, we have been analyzing the troubles which could be related with bonita engine and its connections and transactions with the database engine.
The exceptions from Bonita's log are:
1) Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.ow2.bonita.runtime.model.Execution#79715]

Alfresco connector and incompatible type com.ctc.wstx.stax.WstxOutputFactory

After adding a connector Alfresco, the following exception occurs.

Can anyone help me? Thanks