I'm having issues with Tomcat deploy on ubuntu server

1
0
-1

Hi everybody,

I'm trying to deploy the bonita 7.3 community edition on a tomcat 7 contained into an ubuntu 16.
I've follow this tutorial http://documentation.bonitasoft.com/bonitabpm/?page=ubuntu-openjdk-tomca....

However i'm getting the following error while trying to start the tomcat container.

   2016-08-09 11:26:49.035 -0500 INFORMACI?N: org.bonitasoft.platform.setup.PlatformSetup Connected to 'null' database with url: 'jdbc:postgresql://localhost:5432/bonita' with user: 'bonita_db_user'



2016-08-09 11:26:49.038 -0500 GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Excepci?n enviando evento inicializado de contexto a instancia de escuchador de clase org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
java.lang.RuntimeException: Error while initializing the Engine
    at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:39)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1962)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: dbVendor is null
    at org.bonitasoft.platform.setup.ScriptExecutor.<init>(ScriptExecutor.java:87)
    at org.bonitasoft.platform.setup.PlatformSetup.initServices(PlatformSetup.java:350)
    at org.bonitasoft.platform.setup.PlatformSetup.initPlatformSetup(PlatformSetup.java:395)
    at org.bonitasoft.platform.setup.PlatformSetup.init(PlatformSetup.java:111)
    at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:35)
    ... 13 more

2016-08-09 11:26:49.254 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.PlatformTenantListener Error initializing platform configuration. Engine most likely failed to start. Check previous error logs for more details.`

i could not find where should i specify the dbVendor.

i've also tried to clone the code for the community edition following this tutorial http://documentation.bonitasoft.com/bonitabpm/?page=building-community-e... without success.

Thanks in advance for the help

Comments

Submitted by Lionel Palacin on Tue, 08/16/2016 - 18:39

Hi,

The dbVendor should be set in the setenv.sh. Depends on the Linux distribution or Tomcat version, it might occur that the setenv.sh script is not executed. Could you double check that the script is actually executed and the value has been correctly set.

Cheers

No answers yet.
Notifications