[SOLVED] Unable to install a process with JBoss


Hi everybody.
I just finished developing the bonita rest extension for my company and i want to switch to the production environment.

Thus, i installed the jboss bundle using Sql Server databases (for both the bonita database and the business data database).
After a few attempts, I managed to install it and everything seems to work fine, except i cannot install the processes from the web portal.

To do so, I use to "build the diagrams" into .bar files, and then install those from the "processes" page with an administrator account.

A popup shows up, telling me:

"org.bonitasoft.engine.bpm.bar.InvalidBusinessArchiveFormatException: Deserialization of the ProcessDesignFailed"

and logs look like this:

16:40:31,472 GRAVE [org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet] (http-- org.bonitasoft.engine.bpm.bar.InvalidBusinessArchiveFormatException: Deserialization of the ProcessDesignFailed: org.bonitasoft.web.toolkit.client.common.exception.api.APIException: org.bonitasoft.engine.bpm.bar.InvalidBusinessArchiveFormatException: Deserialization of the ProcessDesignFailed


Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.bonitasoft.org/ns/process/client/6.3", local:"processDefinition"). Expected elements are <{http://www.bonitasoft.org/ns/process/client/7.2}processDefinition>,<{http://www.bonitasoft.org/ns/process/client/7.2}processDefinitionImpl>

this used to work importing a process in a tomcat based installation.

How can i get it to work?

Thank you so much.


Submitted by davide.abati on Mon, 02/22/2016 - 10:01

Solved! This was due to incoherent versions of bonita. Simply, I was trying to install 7.1.5 built processes into Bonita 7.2.

Documentation states:
"You can only install a .bar file that was exported from a Bonita BPM Studio of the same minor (7.x) version as your Bonita BPM Portal and Bonita BPM Engine. If you have a .bar file that was exported from an earlier version of Bonita BPM Studio (7.x-1), it will not work with Bonita BPM Engine. Export the process definition as a .bos file from your old Bonita BPM Studio, import in into the new Studio, then export it as a .bar. This is necessary for a .bar that has not been deployed. A process that was developed in an older version of Bonita BPM Studio and is already deployed is migrated automatically when you migrate your platform. However, for future maintenance of the process definition, you are recommended to update all your process bar files to the latest version each time you update your platform."

No answers yet.