Installation plateforme BONITA

1
0
-1

Bonjour,
je suis entrain de mettre ma plateforme bonita en production, pour cela j'ai suivi la procédure suivante

Ubuntu + OpenJDK + Tomcat + PostgreSQL

Linux bpm 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

╰─$ java -version 1 ↵
openjdk version "1.8.0_03-Ubuntu"
OpenJDK Runtime Environment (build 1.8.0_03-Ubuntu-8u77-b03-3ubuntu3-b03)
OpenJDK 64-Bit Server VM (build 25.03-b03, mixed mode)
╭─root@bpmsrv /var/lib/tomcat7/logs

j'utilise la version 9.5 de postgresql

mais lorsque j'essaie de lancer le navigateur : http://localhost:8080/bonita

500
Can't retrieve default tenant id
Oops. Error.

log bonita

2016-05-02 12:49:16.214 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine 

INFOS: Initializing Bonita Engine...
2016-05-02 12:49:16.215 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine
INFOS: Initializing Spring context...
2016-05-02 12:49:30.376 +0200 org.hibernate.type.TypeFactory org.hibernate.type.TypeFactory$TypeScopeImpl injectSessionFactory
WARN: HHH000233: Scoping types to session factory org.hibernate.internal.SessionFactoryImpl@4f914705 after already scoped org.hibernate.internal.SessionFactoryImpl@2218b6b
2016-05-02 12:49:35.295 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine
INFOS: Initializing platform...
2016-05-02 12:49:35.296 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initPlatform
INFOS: Creating platform...
2016-05-02 12:49:35.621 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine
INFOS: Platform initialized successfully.
2016-05-02 12:49:35.622 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer startPlatform
INFOS: Starting platform...
2016-05-02 12:49:35.902 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer startPlatform
INFOS: Platform started successfully
2016-05-02 12:49:35.904 +0200 org.bonitasoft.engine.EngineInitializer org.bonitasoft.engine.EngineInitializer initializeEngine
INFOS: Initialization of Bonita Engine done! ( took 19689ms)
2016-05-02 12:49:36.147 +0200 org.bonitasoft.console.common.server.servlet.PlatformTenantListener org.bonitasoft.console.common.server.servlet.PlatformTenantListener initializeDefaultTenant
GRAVE: Bonita exception while creating tenant directory
org.bonitasoft.engine.platform.LoginException: org.bonitasoft.engine.platform.exception.STenantNotFoundException: No default tenant found

2016-05-02 12:49:36.152 +0200 org.bonitasoft.console.common.server.servlet.PlatformTenantListener org.bonitasoft.console.common.server.servlet.PlatformTenantListener contextInitialized
GRAVE: Error while initializing the default tenant
org.bonitasoft.engine.platform.LoginException: org.bonitasoft.engine.platform.exception.STenantNotFoundException: No default tenant found
at org.bonitasoft.engine.api.impl.LoginAPIImpl.login(LoginAPIImpl.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2 answers

1
+1
-1
This one is the BEST answer!

I have a solution of my problem.
When i finish all modifications, i drop and create again bonita_db

1
0
-1
`2016-05-02 13:12:49.085 +0200 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita].[homepage] org.apache.catalina.core.StandardWrapperValve invoke

GRAVE: Servlet.service() for servlet [homepage] in context with path [/bonita] threw exception [org.bonitasoft.console.common.server.utils.DefaultTenantIdException: Can't retrieve default tenant id] with root cause
org.bonitasoft.engine.platform.exception.STenantNotFoundException: No default tenant found
at org.bonitasoft.engine.platform.impl.PlatformServiceImpl.getDefaultTenant(PlatformServiceImpl.java:620)

Notifications