Unable to update default profiles

1
0
-1

Dear friends,Bonitasoft engine started successfully,but there are some errors.Could you help me to solve ?Thank you so much.

2017-05-24 11:10:20.676 +0900 INFO: org.bonitasoft.platform.setup.PlatformSetup System property org.bonitasoft.platform.setup.folder is set to D:\BonitaBPMSubscription-7.3.3-Tomcat-7.0.67\setup
2017-05-24 11:10:20.691 +0900 INFO: org.bonitasoft.platform.setup.PlatformSetup Connected to 'mysql' database with url: 'jdbc:mysql://localhost:3306/business_data?dontTrackOpenResources=true&useUnicode=true&characterEncoding=UTF-8' with user: 'bonita@localhost'
2017-05-24 11:10:20.707 +0900 INFO: org.bonitasoft.platform.setup.ScriptExecutor configuration for Database vendor: mysql
2017-05-24 11:10:20.816 +0900 INFO: org.bonitasoft.platform.setup.PlatformSetup Platform is already created. Nothing to do.
2017-05-24 11:10:20.863 +0900 INFO: org.bonitasoft.engine.EngineInitializer Initializing Bonita Engine...
2017-05-24 11:10:20.863 +0900 INFO: org.bonitasoft.engine.EngineInitializer Initializing Spring context...
2017-05-24 11:10:20.894 +0900 warning: org.bonitasoft.engine.home.FolderMgr The following temporary folders were not deleted on the previous shutdown. This can happen when your JVM crashed or if you did not properly stop the platform.
2017-05-24 11:10:20.894 +0900 warning: org.bonitasoft.engine.home.FolderMgr Delete these folders to free up space:
2017-05-24 11:10:20.910 +0900 warning: org.bonitasoft.engine.home.FolderMgr D:\BonitaBPMSubscription-7.3.3-Tomcat-7.0.67\temp\bonita_engine_15956@SED1V010
2017-05-24 11:10:20.910 +0900 warning: org.bonitasoft.engine.home.FolderMgr D:\BonitaBPMSubscription-7.3.3-Tomcat-7.0.67\temp\bonita_engine_16636@SED1V010
2017-05-24 11:10:20.910 +0900 warning: org.bonitasoft.engine.home.FolderMgr D:\BonitaBPMSubscription-7.3.3-Tomcat-7.0.67\temp\bonita_engine_17376@SED1V010
2017-05-24 11:10:20.910 +0900 warning: org.bonitasoft.engine.home.FolderMgr D:\BonitaBPMSubscription-7.3.3-Tomcat-7.0.67\temp\bonita_engine_18616@SED1V010
2017-05-24 11:10:20.910 +0900 warning: org.bonitasoft.engine.home.FolderMgr D:\BonitaBPMSubscription-7.3.3-Tomcat-7.0.67\temp\bonita_engine_8896@SED1V010
2017-05-24 11:10:30.052 +0900 warning: org.hibernate.type.TypeFactory HHH000233: Scoping types to session factory org.hibernate.internal.SessionFactoryImpl@e92d417 after already scoped org.hibernate.internal.SessionFactoryImpl@6abc29a6
2017-05-24 11:10:33.718 +0900 INFO: org.bonitasoft.engine.EngineInitializer Starting platform...
2017-05-24 11:10:42.048 +0900 INFO: org.bonitasoft.engine.EngineInitializer Platform started successfully
2017-05-24 11:10:42.048 +0900 INFO: org.bonitasoft.engine.EngineInitializer Initialization of Bonita Engine done! ( took 21185ms)
2017-05-24 11:10:42.621 +0900 SEVERE: org.bonitasoft.engine.profile.DefaultProfilesUpdater THREAD_ID=34 | HOSTNAME=SED1V010 | TENANT_ID=1 | Unable to update default profiles
org.bonitasoft.engine.exception.ExecutionException: org.bonitasoft.engine.profile.exception.profileentry.SProfileEntryCreationException: org.bonitasoft.engine.recorder.SRecorderException: org.bonitasoft.engine.services.SPersistenceException: Problem while saving entity: SProfileEntryImpl [id=0, tenantId=1, profileId=1, parentId=0, name=Tasks, description=Manage tasks, index=0, type=link, page=tasklistinguser, custom=false] with id: 0
at org.bonitasoft.engine.profile.ProfilesImporter.importProfiles(ProfilesImporter.java:150)
at org.bonitasoft.engine.profile.DefaultProfilesUpdater.doUpdateProfiles(DefaultProfilesUpdater.java:105)
at org.bonitasoft.engine.profile.DefaultProfilesUpdater$1.call(DefaultProfilesUpdater.java:95)
at com.bonitasoft.engine.transaction.JTATransactionServiceExt.executeInTransaction(JTATransactionServiceExt.java:49)
at org.bonitasoft.engine.profile.DefaultProfilesUpdater.execute(DefaultProfilesUpdater.java:68)
at org.bonitasoft.engine.profile.ProfilesUpdaterRestartHandler.afterServicesStart(ProfilesUpdaterRestartHandler.java:38)
at org.bonitasoft.engine.api.impl.StarterThread.run(StarterThread.java:76)
Caused by: org.bonitasoft.engine.profile.exception.profileentry.SProfileEntryCreationException: org.bonitasoft.engine.recorder.SRecorderException: org.bonitasoft.engine.services.SPersistenceException: Problem while saving entity: SProfileEntryImpl [id=0, tenantId=1, profileId=1, parentId=0, name=Tasks, description=Manage tasks, index=0, type=link, page=tasklistinguser, custom=false] with id: 0
at org.bonitasoft.engine.profile.impl.ProfileServiceImpl.createProfileEntry(ProfileServiceImpl.java:343)
at com.bonitasoft.engine.profile.ProfilesImporterExt.importProfileEntries(ProfilesImporterExt.java:76)
at org.bonitasoft.engine.profile.ProfilesImporter.importProfiles(ProfilesImporter.java:139)
... 6 more
Caused by: org.bonitasoft.engine.recorder.SRecorderException: org.bonitasoft.engine.services.SPersistenceException: Problem while saving entity: SProfileEntryImpl [id=0, tenantId=1, profileId=1, parentId=0, name=Tasks, description=Manage tasks, index=0, type=link, page=tasklistinguser, custom=false] with id: 0
at org.bonitasoft.engine.recorder.impl.RecorderImpl.recordInsert(RecorderImpl.java:69)
at org.bonitasoft.engine.profile.impl.ProfileServiceImpl.createProfileEntry(ProfileServiceImpl.java:336)
... 8 more
Caused by: org.bonitasoft.engine.services.SPersistenceException: Problem while saving entity: SProfileEntryImpl [id=0, tenantId=1, profileId=1, parentId=0, name=Tasks, description=Manage tasks, index=0, type=link, page=tasklistinguser, custom=false] with id: 0
at org.bonitasoft.engine.persistence.AbstractDBPersistenceService.setId(AbstractDBPersistenceService.java:209)
at org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService.setId(AbstractHibernatePersistenceService.java:367)
at org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService.insert(AbstractHibernatePersistenceService.java:281)
at org.bonitasoft.engine.persistence.TenantHibernatePersistenceService.insert(TenantHibernatePersistenceService.java:134)
at org.bonitasoft.engine.recorder.impl.RecorderImpl.recordInsert(RecorderImpl.java:62)
... 9 more
Caused by: org.bonitasoft.engine.commons.exceptions.SObjectNotFoundException: Found no row for tenantId:1 id: 9991
at org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.getNextId(TenantSequenceManagerImpl.java:234)
at org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.selectById(TenantSequenceManagerImpl.java:205)
at org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.setNewRange(TenantSequenceManagerImpl.java:132)
at org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.getNextId(TenantSequenceManagerImpl.java:104)
at org.bonitasoft.engine.sequence.SequenceManagerImpl.getNextId(SequenceManagerImpl.java:81)
at org.bonitasoft.engine.persistence.AbstractDBPersistenceService.setId(AbstractDBPersistenceService.java:206)
... 13 more

1 answer

1
0
-1

This looks like you are trying to run a Subscription version of the software:

2017-05-24 11:10:20.676 +0900 INFO: org.bonitasoft.platform.setup.PlatformSetup System property org.bonitasoft.platform.setup.folder is set to D:\BonitaBPMSubscription-7.3.3-Tomcat-7.0.67\setup

You should contact your real Bonitasoft Service agent as Community will not be able to help with this.

regards
Seán

PS: While I understand this may not be the answer you're hoping for, it does indicate a possible route to the solution, please mark as resolved.

Notifications