I have attempted to migrate our Bonita Subscription version 6.2.3 running on Tomcat 7 and MySQL to version 6.3.3. I followed the directions listed here:
http://documentation.bonitasoft.com/migrate-earlier-version-bonita-bpm#migrate
I am now seeing this error repeated in the Bonita log. I am assuming that I have a bad jar file somewhere but I’ve looked over the migration steps and I cannot find anywhere that I went wrong.
I get a 500 error when going to the Bonita Portal.
If anyone has any ideas please let me know:
[root@localhost logs]# cat bonita.2014-08-28.log
2014-08-28 11:38:53 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita]
FINE: Configuring event listener class ‘net.sf.ehcache.constructs.web.ShutdownListener’
2014-08-28 11:38:53 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita]
FINE: Configuring event listener class ‘com.bonitasoft.engine.api.internal.servlet.EngineInitializerListenerSP’
2014-08-28 11:38:53 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita]
FINE: Configuring event listener class ‘org.bonitasoft.console.common.server.servlet.PlatformTenantListener’
2014-08-28 11:38:53 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita]
FINE: Sending application start events
2014-08-28 11:38:53 org.bonitasoft.engine.EngineInitializer
INFO: Initializing Bonita Engine…
2014-08-28 11:38:53 org.bonitasoft.engine.EngineInitializer
INFO: Initializing Spring context…
2014-08-28 11:39:07 org.bonitasoft.engine.EngineInitializer
INFO: Initializing platform…
2014-08-28 11:39:07 org.bonitasoft.engine.EngineInitializer
INFO: Creating platform…
2014-08-28 11:39:07 org.bonitasoft.engine.EngineInitializer
INFO: Platform is already initialized.
org.bonitasoft.engine.platform.PlatformNotFoundException: java.lang.ClassCastException: org.bonitasoft.engine.service.impl.SpringPlatformServiceAccessor cannot be cast to com.bonitasoft.engine.service.PlatformServiceAccessor
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.isPlatformCreated(PlatformAPIImpl.java:855)
at org.bonitasoft.engine.PlatformTenantManager.createPlatform(PlatformTenantManager.java:42)
at org.bonitasoft.engine.EngineInitializer.initPlatform(EngineInitializer.java:133)
at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:91)
at com.bonitasoft.engine.api.internal.servlet.EngineInitializerListenerSP.contextInitialized(EngineInitializerListenerSP.java:38)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
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:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
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:744)
Caused by: java.lang.ClassCastException: org.bonitasoft.engine.service.impl.SpringPlatformServiceAccessor cannot be cast to com.bonitasoft.engine.service.PlatformServiceAccessor
at com.bonitasoft.engine.service.impl.ServiceAccessorFactory.createPlatformServiceAccessor(ServiceAccessorFactory.java:41)
at com.bonitasoft.engine.api.impl.PlatformAPIExt.getPlatformAccessor(PlatformAPIExt.java:129)
at com.bonitasoft.engine.api.impl.PlatformAPIExt.getPlatformAccessor(PlatformAPIExt.java:112)
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.isPlatformCreated(PlatformAPIImpl.java:853)
… 17 more