# Configuring tomcat bundle to connect to bonita 7.3

**URL:** <https://community.ofelia.com/t/configuring-tomcat-bundle-to-connect-to-bonita-7-3/8033>\
**Category:** Q&A\
**Created:** [22 December 2016 21:53 UTC](https://community.ofelia.com/t/configuring-tomcat-bundle-to-connect-to-bonita-7-3/8033 "2016-12-22T21:53:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rositamg1993](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rositamg1993](https://community.ofelia.com/u/rositamg1993)\
**Post date:** [22 December 2016 21:53 UTC](https://community.ofelia.com/t/configuring-tomcat-bundle-to-connect-to-bonita-7-3/8033/1 "2016-12-22T21:53:20Z")

</div>

Hello everybody,

I made the tomcat bundle configuration and i have some errors, is the first time that y try to make this, please someone can help me with this errors:

`
INFORMACIÓN: Exception while initializing the engine: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'quartzProperties' defined in file [C:\BonitaBPM\BonitaBPMCommunity-7.2.3-Tomcat-7.0.67\bonita\engine-server\work\platform\bonita-platform-community.xml]: Could not resolve placeholder 'PostgreSQL.quartz.connection.jobstoredriver' in string value [${${db.vendor}.quartz.connection.jobstoredriver}]
dic 22, 2016 4:51:18 PM org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener contextInitialized
GRAVE: Error while initializing the Engine
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'quartzProperties' defined in file [C:\BonitaBPM\BonitaBPMCommunity-7.2.3-Tomcat-7.0.67\bonita\engine-server\work\platform\bonita-platform-community.xml]: Could not resolve placeholder 'PostgreSQL.quartz.connection.jobstoredriver' in string value [${${db.vendor}.quartz.connection.jobstoredriver}]
	at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)
	at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:220)
	at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)
	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:626)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
	at org.bonitasoft.engine.service.impl.SpringFileSystemBeanAccessor.getContext(SpringFileSystemBeanAccessor.java:78)
	at org.bonitasoft.engine.service.impl.SpringFileSystemBeanAccessor.getService(SpringFileSystemBeanAccessor.java:39)
	at org.bonitasoft.engine.service.impl.SpringPlatformServiceAccessor.getPlatformSessionService(SpringPlatformServiceAccessor.java:157)
	at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:84)
	at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:42)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
	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:652)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
`

`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
dic 22, 2016 4:51:18 PM org.bonitasoft.console.common.server.servlet.PlatformTenantListener contextInitialized
GRAVE: Error while initializing the default tenant
org.bonitasoft.engine.platform.NodeNotStartedException: The current node has not been started yet. Method PlatformAPI.startNode() must be called previously.
at org.bonitasoft.engine.api.impl.ServerAPIImpl.checkMethodAccessibility(ServerAPIImpl.java:287)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIOutsideTransaction(ServerAPIImpl.java:278)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:270)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:124)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)
at com.sun.proxy.$Proxy3.login(Unknown Source)
at org.bonitasoft.console.common.server.servlet.PlatformTenantListener.initializeDefaultTenant(PlatformTenantListener.java:61)
at org.bonitasoft.console.common.server.servlet.PlatformTenantListener.contextInitialized(PlatformTenantListener.java:44)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
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:652)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
`

---

<div class="post-metadata">

**Author:** ![geekinc](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@geekinc](https://community.ofelia.com/u/geekinc)\
**Post date:** [14 March 2017 17:04 UTC](https://community.ofelia.com/t/configuring-tomcat-bundle-to-connect-to-bonita-7-3/8033/2 "2017-03-14T17:04:18Z")

</div>

It appears DB\_OPTS must be set “postgres” in bin/setenv.sh.

Docs:  
[http://documentation.bonitasoft.com/7.3?page=database-configuration](http://documentation.bonitasoft.com/7.3?page=database-configuration)

---

<div class="post-metadata">

**Author:** ![geekinc](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@geekinc](https://community.ofelia.com/u/geekinc)\
**Post date:** [14 March 2017 16:12 UTC](https://community.ofelia.com/t/configuring-tomcat-bundle-to-connect-to-bonita-7-3/8033/3 "2017-03-14T16:12:23Z")

</div>

How was this issue resolved? I’m running into the same error.

---

<div class="post-metadata">

**Author:** ![rositamg1993](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rositamg1993](https://community.ofelia.com/u/rositamg1993)\
**Post date:** [14 March 2017 17:10 UTC](https://community.ofelia.com/t/configuring-tomcat-bundle-to-connect-to-bonita-7-3/8033/4 "2017-03-14T17:10:08Z")

</div>

I did that, i’m using postgres in vendor.

---

<div class="post-metadata">

**Author:** ![geekinc](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@geekinc](https://community.ofelia.com/u/geekinc)\
**Post date:** [15 March 2017 04:01 UTC](https://community.ofelia.com/t/configuring-tomcat-bundle-to-connect-to-bonita-7-3/8033/5 "2017-03-15T04:01:09Z")

</div>

Like you, I was still having issues when I set DB\_OPTS to “postgres”. I ended up re-installing Bonita with Tomcat, which solved the problem. I read in another thread that starting up the server with H2 can cause issues when configuring PostgreSQL. I made sure to remove all references to H2 and make all the necessary changes to the config files before running ./bonita-start.sh.
