# Portal not running....

**URL:** https://community.ofelia.com/t/portal-not-running/6801
**Category:** Q&A
**Created:** [29 December 2015 11:43 UTC](https://community.ofelia.com/t/portal-not-running/6801 "2015-12-29T11:43:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![a.schelhaas](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@a.schelhaas](https://community.ofelia.com/u/a.schelhaas)
#### Post date: [29 December 2015 11:43 UTC](https://community.ofelia.com/t/portal-not-running/6801/1 "2015-12-29T11:43:41Z")

</div>

I did an installation on Ubuntu 14.04 LTS according the document [http://documentation.bonitasoft.com/ubuntu-openjdk-tomcat-postgresql-0](http://documentation.bonitasoft.com/ubuntu-openjdk-tomcat-postgresql-0)

But when I’m trying to connect to BPM Portal (http://\<your\_server\_hostname\>:8080/bonita) I’m getting a 404 error. Question: is the Tomcat part of the manual complete. It seems that the virual directory ‘bonita’ does not exist…

---

<div class="post-metadata">

### Author: ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)
#### Post date: [29 December 2015 12:27 UTC](https://community.ofelia.com/t/portal-not-running/6801/2 "2015-12-29T12:27:05Z")

</div>

You did use your server name didn’t you?

http://:8080/bonita is wrong…  
.  
[http://myservername:8080/bonita](http://myservername:8080/bonita) is correct…

regards  
Seán

---

<div class="post-metadata">

### Author: ![a.schelhaas](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@a.schelhaas](https://community.ofelia.com/u/a.schelhaas)
#### Post date: [29 December 2015 12:49 UTC](https://community.ofelia.com/t/portal-not-running/6801/3 "2015-12-29T12:49:47Z")

</div>

Yes, I did use the server name.

[http://bpmserver.schelhaas.local:8080/bonita](http://bpmserver.schelhaas.local:8080/bonita)

![screenshot](http://download.schelhaas.net/bonita/ScreenShot.png)

tomcat7 logfiles:  
[bonita.2015-12-29.log](http://download.schelhaas.net/bonita/bonita.2015-12-29.log)  
[catalina.2015-12-29.log](http://download.schelhaas.net/bonita/catalina.2015-12-29.log)  
[catalina.out](http://download.schelhaas.net/bonita/catalina.out)

---

<div class="post-metadata">

### Author: ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)
#### Post date: [29 December 2015 14:56 UTC](https://community.ofelia.com/t/portal-not-running/6801/4 "2015-12-29T14:56:01Z")

</div>

OK, but in your post it didn’t look like it 🙂

So if you look at your folder hierarchy do you find these:?

/opt/bonita/bonita\_home-7.1.4/engine-server/work/platform  
/opt/bonita/bonita\_home-7.1.4/engine-client/work/bonita-client-community.properties

because that’s what it’s looking for.

If not then you must have got something wrong somewhere,

regards

---

<div class="post-metadata">

### Author: ![a.schelhaas](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@a.schelhaas](https://community.ofelia.com/u/a.schelhaas)
#### Post date: [30 December 2015 12:58 UTC](https://community.ofelia.com/t/portal-not-running/6801/5 "2015-12-30T12:58:33Z")

</div>

Directory and file were not mentioned in de the installation document. This is the reason they were missing. Fixed that by creating the missing folders and copying the file ‘bonita-client-community.properties’ to the required location.

After restarting the server there are still errors.

Bonita.yyyy-MM-dd.log:

`2015-12-30 12:48:02.695 +0100 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine  
INFO: Initializing Bonita Engine…  
2015-12-30 12:48:02.695 +0100 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine  
INFO: Initializing Spring context…  
2015-12-30 12:48:02.696 +0100 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine  
INFO: Exception while initializing the engine: org.bonitasoft.engine.exception.BonitaRuntimeException: org.bonitasoft.engine.exception.BonitaHomeConfigurationException: platformClassName not set in bonita-platform-private.properties  
2015-12-30 12:48:02.697 +0100 org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener contextInitialized  
SEVERE: Error while initializing the Engine  
org.bonitasoft.engine.exception.BonitaRuntimeException: org.bonitasoft.engine.exception.BonitaHomeConfigurationException: platformClassName not set in bonita-platform-private.properties  
at org.bonitasoft.engine.EngineInitializer.getPlatformAccessor(EngineInitializer.java:65)  
at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:83)  
at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:42)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)  
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:632)  
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670)  
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)  
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.exception.BonitaHomeConfigurationException: platformClassName not set in bonita-platform-private.properties  
at org.bonitasoft.engine.service.impl.ServiceAccessorFactory.createPlatformServiceAccessor(ServiceAccessorFactory.java:63)  
at org.bonitasoft.engine.EngineInitializer.getPlatformAccessor(EngineInitializer.java:63)  
… 15 more

2015-12-30 12:48:02.778 +0100 org.bonitasoft.console.common.server.servlet.PlatformTenantListener org.bonitasoft.console.common.server.servlet.PlatformTenantListener initializeDefaultTenant  
SEVERE: Bonita exception while creating tenant directory  
org.bonitasoft.engine.exception.ServerAPIException: java.lang.reflect.InvocationTargetException  
at org.bonitasoft.engine.api.impl.LocalServerAPIFactory.getServerAPI(LocalServerAPIFactory.java:45)  
at org.bonitasoft.engine.api.TenantAPIAccessor.getServerAPI(TenantAPIAccessor.java:53)  
at org.bonitasoft.engine.api.TenantAPIAccessor.getAPI(TenantAPIAccessor.java:97)  
at org.bonitasoft.engine.api.TenantAPIAccessor.getLoginAPI(TenantAPIAccessor.java:103)  
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:4973)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)  
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:632)  
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670)  
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)  
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: java.lang.reflect.InvocationTargetException  
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.bonitasoft.engine.api.impl.LocalServerAPIFactory.getServerAPI(LocalServerAPIFactory.java:43)  
… 18 more  
Caused by: java.lang.ExceptionInInitializerError: Cannot load class null. Platform property ‘serverApi’ may not be set.  
at org.bonitasoft.engine.api.impl.ServerAPIFactory.getServerAPIImplementation(ServerAPIFactory.java:47)  
at org.bonitasoft.engine.api.impl.ServerAPIFactory.getServerAPI(ServerAPIFactory.java:35)  
… 23 more

2015-12-30 12:48:02.779 +0100 org.bonitasoft.console.common.server.servlet.PlatformTenantListener org.bonitasoft.console.common.server.servlet.PlatformTenantListener contextInitialized  
SEVERE: Error while initializing the default tenant  
org.bonitasoft.engine.exception.ServerAPIException: java.lang.reflect.InvocationTargetException  
at org.bonitasoft.engine.api.impl.LocalServerAPIFactory.getServerAPI(LocalServerAPIFactory.java:45)  
at org.bonitasoft.engine.api.TenantAPIAccessor.getServerAPI(TenantAPIAccessor.java:53)  
at org.bonitasoft.engine.api.TenantAPIAccessor.getAPI(TenantAPIAccessor.java:97)  
at org.bonitasoft.engine.api.TenantAPIAccessor.getLoginAPI(TenantAPIAccessor.java:103)  
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:4973)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)  
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:632)  
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670)  
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)  
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: java.lang.reflect.InvocationTargetException  
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.bonitasoft.engine.api.impl.LocalServerAPIFactory.getServerAPI(LocalServerAPIFactory.java:43)  
… 18 more  
Caused by: java.lang.ExceptionInInitializerError: Cannot load class null. Platform property ‘serverApi’ may not be set.  
at org.bonitasoft.engine.api.impl.ServerAPIFactory.getServerAPIImplementation(ServerAPIFactory.java:47)  
at org.bonitasoft.engine.api.impl.ServerAPIFactory.getServerAPI(ServerAPIFactory.java:35)  
… 23 more

2015-12-30 12:48:03.219 +0100 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer unloadEngine  
INFO: Stopping Bonita Engine…  
2015-12-30 12:48:03.219 +0100 org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener contextDestroyed  
SEVERE: Error while unloading the Engine  
org.bonitasoft.engine.exception.BonitaRuntimeException: org.bonitasoft.engine.exception.BonitaHomeConfigurationException: platformClassName not set in bonita-platform-private.properties  
at org.bonitasoft.engine.EngineInitializer.getPlatformAccessor(EngineInitializer.java:65)  
at org.bonitasoft.engine.EngineInitializer.unloadEngine(EngineInitializer.java:156)  
at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextDestroyed(EngineInitializerListener.java:33)  
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)  
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)  
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)  
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)  
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)  
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.exception.BonitaHomeConfigurationException: platformClassName not set in bonita-platform-private.properties  
at org.bonitasoft.engine.service.impl.ServiceAccessorFactory.createPlatformServiceAccessor(ServiceAccessorFactory.java:63)  
at org.bonitasoft.engine.EngineInitializer.getPlatformAccessor(EngineInitializer.java:63)  
… 11 more  
`

---

<div class="post-metadata">

### Author: ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)
#### Post date: [30 December 2015 17:30 UTC](https://community.ofelia.com/t/portal-not-running/6801/6 "2015-12-30T17:30:53Z")

</div>

_Directory and file were not mentioned in de the installation document. This is the reason they were missing. Fixed that by creating the missing folders and copying the file ‘bonita-client-community.properties’ to the required location._

The directory and file are not supposed to be mentioned in the installation document. they are supposed to be created by the installation.

I think you must have gotten a step wrong somewhere in the installation.

For example if you search your installation for the folder

**/opt/bonita/bonita\_home-7.1.4/engine-server/work/platform**

is there an extra /bonita/ in there for i.e.

/opt/bonita/bonita/bonita\_home-7.1.4/engine-server/work/platform

Where do you find the original platform folder?

I think you might have to try the whole install again, and if you do fix it can you let us know how you did it…

regards  
Seán
