Bonita Studio 7.1 Community Edition - switch from H2 to Oracle

1
0
-1

Hi,

we downloaded the BonitaBPMCommunity 7.1 and before starting the application for the first time we applied all the configuration needed to switch from H2 to Oracle ( http://documentation.bonitasoft.com/database-configuration-2 ).

We noticed that the Bonita Studio is not working correctly however the portal is working fine ( From the portal we can create organization, upload .bar process and start tasks ). We started tomcat from command line (cmd startup.bat) and then all the tables was created under Oracle schema and the portal was available to be used (install/install default user).

The studio is still linked to H2 database because when try to publish an organization we got the below error :
Cannot find a Listener with classname org.bonitasoft.tomcat.H2Listener. Plus we cannot start the web server or open the portal from the studio.

Please could you advise if something is missing in our configuration knowing that all the needed steps has been performed?
Is it a limitation in the community version?

Thank you.

1 answer

1
0
-1

First of all, it is not recommended to change Studio embedded Tomcat database. Recommended solution is to setup a separated test server.

Anyway it should be technical possible. As you still get some log about h2 listener, check the server.xml configuration file located in BonitaBPMCommunity-7.1.0/workspace/tomcat/conf/folder and make sure that the line about listener is commented (see documentation).

Comments

Submitted by nfeghali on Mon, 10/05/2015 - 07:52

Thank you for the reply,
The H2Listener is commented from the server.xml but the studio is still using it when we try to publish the organization.

Submitted by antoine.mottier on Thu, 10/08/2015 - 10:29

Can you share your bonita home configuration folder and also data source (Tomcat and Bitornix) configuration?

Did you set db.vendorproperty in engine-server/conf/platform/bonita-platform-community-custom.propertiesconfiguration file? Setting this in setenvfile will not work for Studio.

Submitted by jdimassi on Mon, 10/19/2015 - 19:09

Hi,
I'm also getting the same issue with bonitasoft 7.1.2 Community and Mysql. All the configurations are made according to the documentation. Neither the portal nor the studio are working :
- The studio is always mapped to H2, especially for the publication of the organization
- The portal is not working (Tomcat is generating an error )
Node not started. Method 'org.bonitasoft.engine.api.LoginAPI.login' cannot be called
until node has been started (PlatformAPI.startNode()). Exact class:
org.bonitasoft.engine.api.impl.LoginAPIImpl

Submitted by antoine.mottier on Tue, 10/27/2015 - 10:56

Hi,

I really recommend to avoid any modification of database used by the Studio: keep the default h2 database.

If you need a test platform that use another type of database, try to use the Tomcat or JBoss bundle that are easy to setup with appropriate documentation.

Submitted by collenmup on Wed, 11/04/2015 - 13:49

Hi guys
did anyone manage to publish an organization after changing over from H2 database to a production database in version 7.1 if so how can i go about it i have the same error the engine is still trying to access the h2 database

Notifications