Ubuntu + OpenJDK + Tomcat + PostgreSQL

Hi, I’ve been working for over 3 days trying to get BonitaBPMCommunity-6.5.1 installed on Ubuntu and no success. I can’t get beyond “org.bonitasoft.console.common.server.utils.DefaultTenantIdException”. The bonita_db is populated with what appears to be the correct tables. However, bonita_bdm is empty (no tables). I suspect the problem is with the bitronix transaction layer. Any help woud be greatly appreciated. Thank you.

Here are the logs:

postgresql-9.3-main
2015-05-07 15:00:54 EDT LOG: received fast shutdown request
2015-05-07 15:00:54 EDT LOG: aborting any active transactions
2015-05-07 15:00:54 EDT LOG: autovacuum launcher shutting down
2015-05-07 15:00:54 EDT LOG: shutting down
2015-05-07 15:00:54 EDT LOG: database system is shut down
2015-05-07 15:01:28 EDT LOG: database system was shut down at 2015-05-07 15:00:54 EDT
2015-05-07 15:01:29 EDT LOG: database system is ready to accept connections
2015-05-07 15:01:29 EDT LOG: autovacuum launcher started
2015-05-07 15:01:29 EDT LOG: connection received: host=[local]
2015-05-07 15:01:29 EDT LOG: incomplete startup packet
2015-05-07 15:01:29 EDT LOG: connection received: host=[local]
2015-05-07 15:01:29 EDT LOG: connection authorized: user=postgres database=postgres
2015-05-07 15:01:31 EDT LOG: connection received: host=[local]
2015-05-07 15:01:31 EDT LOG: connection authorized: user=postgres database=postgres
2015-05-07 15:01:31 EDT LOG: connection received: host=[local]
2015-05-07 15:01:31 EDT LOG: connection authorized: user=postgres database=postgres
2015-05-07 19:07:17 EDT LOG: connection received: host=127.0.0.1 port=56553
2015-05-07 19:07:17 EDT LOG: connection authorized: user=bonita_db_user database=bonita_bdm1
2015-05-07 19:07:26 EDT LOG: connection received: host=127.0.0.1 port=56554
2015-05-07 19:07:26 EDT LOG: connection authorized: user=bonita_db_user database=bonita_db1
2015-05-07 19:07:27 EDT LOG: connection received: host=127.0.0.1 port=56555
2015-05-07 19:07:27 EDT LOG: connection authorized: user=bonita_db_user database=bonita_db1
2015-05-07 19:07:27 EDT LOG: connection received: host=127.0.0.1 port=56556
2015-05-07 19:07:27 EDT LOG: connection authorized: user=bonita_db_user database=bonita_db1
2015-05-07 19:07:27 EDT LOG: connection received: host=127.0.0.1 port=56557
2015-05-07 19:07:27 EDT LOG: connection authorized: user=bonita_db_user database=bonita_db1
2015-05-07 19:07:45 EDT ERROR: relation “platform” does not exist at character 250
2015-05-07 19:07:45 EDT STATEMENT: select splatformi0_.id as id1_30_, splatformi0_.created as created2_30_, splatformi0_.createdBy as createdB3_30_, splatformi0_.initialVersion as initialV4_30_, splatformi0_.previousVersion as previous5_30_, splatformi0_.version as version6_30_ from platform splatformi0_ limit $1
2015-05-07 19:07:50 EDT ERROR: relation “platform” does not exist at character 13
2015-05-07 19:07:50 EDT STATEMENT: insert into platform (created, createdBy, initialVersion, previousVersion, version, id) values ($1, $2, $3, $4, $5, $6)
2015-05-07 19:07:50 EDT ERROR: current transaction is aborted, commands ignored until end of transaction block
2015-05-07 19:07:50 EDT STATEMENT: insert into platform (created, createdBy, initialVersion, previousVersion, version, id) values ($1, $2, $3, $4, $5, $6)
2015-05-07 19:07:50 EDT ERROR: relation “platform” does not exist at character 250
2015-05-07 19:07:50 EDT STATEMENT: select splatformi0_.id as id1_30_, splatformi0_.created as created2_30_, splatformi0_.createdBy as createdB3_30_, splatformi0_.initialVersion as initialV4_30_, splatformi0_.previousVersion as previous5_30_, splatformi0_.version as version6_30_ from platform splatformi0_ limit $1

bonita
2015-05-07 19:07:27 org.bonitasoft.engine.EngineInitializer
INFO: Initializing Bonita Engine…
2015-05-07 19:07:27 org.bonitasoft.engine.EngineInitializer
INFO: Initializing Spring context…
2015-05-07 19:07:40 org.hibernate.type.TypeFactory
WARN: HHH000233: Scoping types to session factory org.hibernate.internal.SessionFactoryImpl@7a5b2b1a after already scoped org.hibernate.internal.SessionFactoryImpl@776af6b7
2015-05-07 19:07:44 org.bonitasoft.engine.EngineInitializer
INFO: Initializing platform…
2015-05-07 19:07:44 org.bonitasoft.engine.EngineInitializer
INFO: Creating platform…
2015-05-07 19:07:45 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
WARN: SQL Error: 0, SQLState: 42P01
2015-05-07 19:07:45 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
ERROR: ERROR: relation “platform” does not exist
Position: 250
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
WARN: SQL Error: 0, SQLState: 42P01
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
ERROR: ERROR: relation “platform” does not exist
Position: 13
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
WARN: SQL Error: 0, SQLState: 25P02
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
ERROR: ERROR: current transaction is aborted, commands ignored until end of transaction block
2015-05-07 19:07:50 org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl
ERROR: HHH000346: Error during managed flush [could not execute statement]
2015-05-07 19:07:50 org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl
ERROR: HHH000352: Unable to release batch statement…
2015-05-07 19:07:50 org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl
ERROR: HHH000246: SQLException escaped proxy
org.postgresql.util.PSQLException: Statement has been closed.
at org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:442)
at com.sun.proxy.$Proxy6.clearBatch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:64)
at com.sun.proxy.$Proxy7.clearBatch(Unknown Source)
at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.releaseStatements(AbstractBatchImpl.java:171)
at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.release(AbstractBatchImpl.java:205)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.close(JdbcCoordinatorImpl.java:183)
at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.close(TransactionCoordinatorImpl.java:292)
at org.hibernate.internal.SessionImpl.close(SessionImpl.java:354)
at org.hibernate.internal.SessionImpl.managedClose(SessionImpl.java:422)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.doAfterCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:138)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorTrackingImpl.afterCompletion(SynchronizationCallbackCoordinatorTrackingImpl.java:88)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.afterCompletion(RegisteredSynchronization.java:61)
at bitronix.tm.BitronixTransaction.fireAfterCompletionEvent(BitronixTransaction.java:549)
at bitronix.tm.BitronixTransaction.rollback(BitronixTransaction.java:336)
at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:240)
at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:143)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.commit(JTATransactionServiceImpl.java:165)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:144)
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.createPlatform(PlatformAPIImpl.java:156)
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.createAndInitializePlatform(PlatformAPIImpl.java:200)
at org.bonitasoft.engine.PlatformTenantManager.createPlatform(PlatformTenantManager.java:43)
at org.bonitasoft.engine.EngineInitializer.initPlatform(EngineInitializer.java:140)
at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:93)
at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:43)
at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:93)
at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:43)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

2015-05-07 19:07:50 org.bonitasoft.engine.EngineInitializer
INFO: Platform is already initialized.
org.bonitasoft.engine.exception.CreationException: Platform Creation failed.
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.createPlatform(PlatformAPIImpl.java:159)
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.createAndInitializePlatform(PlatformAPIImpl.java:200)
at org.bonitasoft.engine.PlatformTenantManager.createPlatform(PlatformTenantManager.java:43)
at org.bonitasoft.engine.EngineInitializer.initPlatform(EngineInitializer.java:140)
at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:93)
at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:43)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.bonitasoft.engine.transaction.STransactionCommitException: bitronix.tm.internal.BitronixRollbackException: RuntimeException thrown during beforeCompletion cycle caused transaction rollback
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.commit(JTATransactionServiceImpl.java:171)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:144)
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.createPlatform(PlatformAPIImpl.java:156)
… 18 more
Caused by: bitronix.tm.internal.BitronixRollbackException: RuntimeException thrown during beforeCompletion cycle caused transaction rollback
at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:241)
at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:143)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.commit(JTATransactionServiceImpl.java:165)
… 20 more
Caused by: org.hibernate.exception.GenericJDBCException: could not execute statement
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:189)
at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:58)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3079)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3521)
at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:88)
at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:395)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:303)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:303)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1159)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:404)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:105)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
at bitronix.tm.BitronixTransaction.fireBeforeCompletionEvent(BitronixTransaction.java:532)
at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:235)
… 22 more
Caused by: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:365)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:453)
at com.sun.proxy.$Proxy6.executeUpdate(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:64)
at com.sun.proxy.$Proxy7.executeUpdate(Unknown Source)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:186)
… 37 more

2015-05-07 19:07:50 org.bonitasoft.engine.EngineInitializer
INFO: Starting platform…
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
WARN: SQL Error: 0, SQLState: 42P01
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
ERROR: ERROR: relation “platform” does not exist
Position: 250
2015-05-07 19:07:50 org.bonitasoft.engine.EngineInitializer
INFO: Exception while initializing the engine: org.bonitasoft.engine.platform.PlatformNotFoundException: Can’t start or stop platform if it is not created
2015-05-07 19:07:50 org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
SEVERE: Error while initializing the Engine
org.bonitasoft.engine.platform.PlatformNotFoundException: Can’t start or stop platform if it is not created
at org.bonitasoft.engine.PlatformTenantManager.updatePlatform(PlatformTenantManager.java:51)
at org.bonitasoft.engine.PlatformTenantManager.startPlatform(PlatformTenantManager.java:61)
at org.bonitasoft.engine.EngineInitializer.startPlatform(EngineInitializer.java:147)
at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:101)
at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:43)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:303)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1159)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:404)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:105)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
at bitronix.tm.BitronixTransaction.fireBeforeCompletionEvent(BitronixTransaction.java:532)
at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:235)
… 22 more
Caused by: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:365)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:453)
at com.sun.proxy.$Proxy6.executeUpdate(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:64)
at com.sun.proxy.$Proxy7.executeUpdate(Unknown Source)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:186)
… 37 more

2015-05-07 19:07:50 org.bonitasoft.engine.EngineInitializer
INFO: Starting platform…
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
WARN: SQL Error: 0, SQLState: 42P01
2015-05-07 19:07:50 org.hibernate.engine.jdbc.spi.SqlExceptionHelper
ERROR: ERROR: relation “platform” does not exist
Position: 250
2015-05-07 19:07:50 org.bonitasoft.engine.EngineInitializer
INFO: Exception while initializing the engine: org.bonitasoft.engine.platform.PlatformNotFoundException: Can’t start or stop platform if it is not created
2015-05-07 19:07:50 org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
SEVERE: Error while initializing the Engine
org.bonitasoft.engine.platform.PlatformNotFoundException: Can’t start or stop platform if it is not created
at org.bonitasoft.engine.PlatformTenantManager.updatePlatform(PlatformTenantManager.java:51)
at org.bonitasoft.engine.PlatformTenantManager.startPlatform(PlatformTenantManager.java:61)
at org.bonitasoft.engine.EngineInitializer.startPlatform(EngineInitializer.java:147)
at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:101)
at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:43)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Did you check that that max_prepared_transactions is set to max_connections into your Postgres configuration?
For more details see http://documentation.bonitasoft.com/database-configuration-business-data-0

Regarding these two lines in your logs :

INFO: Platform is already initialized.
org.bonitasoft.engine.exception.CreationException: Platform Creation failed.

I’m wondering if you didn’t tried several times to initialize the platform but at first something was missing (bad config param or licence issue…), then you may have an incoherence between your DB and your bonita home. I suggest to restart from a clean env (fresh bonita home and empty database).

To avoid other configuration issues you can use this Puppet module GitHub - Bonitasoft-Community/puppet-bonita-bpm: This Puppet module installs and manages Bonita BPM.
If your Ubuntu is the 14.04 it seems that your environment can fit to its requirements (but if you are familiar with Puppet you can adapt it to another version).
A tutorial is available here Automate your Bonita BPM installation using Puppet | Bonitasoft Community

Hi Jeremy,

I think it is fair to say I tried every combination of every setup I could find on the Bonita website. Frustration was the order of the day!

However, your puppet module worked perfectly. Thank you! I had switch to the latest version, as I am using Bonita BPM Community-6.5.1. Other than that, seamless. Next step is to setup a new VM and install Bonita BPM 6.5.1 Studio.

Finally, I am very interested in representing your company in Canada. I wonder, could direct me to the correct person to speak to in Bonita?

Thank you,
Gary

I also see something strange, you are talking about bonita_bdm db but you use a Community Bundle.
In fact the Business data management feature is not available into the Community 6.5.1 http://www.bonitasoft.com/how-we-do-it/compare-editions

hello, thank you for your interest, you should be contacted soon :wink:

Hi Gary,

I’m glad to see that this Puppet module helped you! :slight_smile:

Note that I’ve just released a new version to manage Bonita BPM 6.5.2.

Jérémy

Excellent! Thank you Jeremy.