欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI
欢迎使用普元文档库
【问题描述】
eos启动时提示bps版本不正确导致bps启动失败
ErrCode: 21000000
Message: (BPS Process Server startup failed,because of the UpGradeManager program find the database script is old version.)
at com.primeton.workflow.api.listener.WFStartUpListenerBase.loadFinished(WFStartUpListenerBase.java:503)
at com.primeton.workflow.api.listener.WFStartUpListenerChain.loadFinished(WFStartUpListenerChain.java:90)
at com.primeton.workflow.api.listener.WFStartUpListener.loadFinished(WFStartUpListener.java:112)
at com.primeton.runtime.resource.impl.ContributionListenerManager.fireLoadFinish(ContributionListenerManager.java:100)
at com.primeton.runtime.resource.impl.ResourceNotify.contributionLoadFinishNofity(ResourceNotify.java:403)
at com.primeton.runtime.resource.impl.ResourceNotify.notifyResource(ResourceNotify.java:109)
at com.primeton.runtime.resource.impl.ApplicationResourceLoaderManager.loadApplicationResource(ApplicationResourceLoaderManager.java:38)
at com.primeton.ext.runtime.resource.startup.ResourceLoaderStartUpListener.start(ResourceLoaderStartUpListener.java:36)
at com.primeton.runtime.core.impl.RuntimeListenerManagerImpl.startListener(RuntimeListenerManagerImpl.java:43)
at com.primeton.ext.runtime.core.RuntimeManager.start(RuntimeManager.java:55)
at com.primeton.ext.runtime.core.RuntimeJ2EEHost.contextInitialized(RuntimeJ2EEHost.java:52)
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.deployDirectory(HostConfig.java:1247)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
[BPS Process Server][2016-04-18 10:16:10,097][INFO] BPS Process Server start failed!!
【解答】
从异常信息来看是由于表WFSYSTEMINFO中CONFIGVALUE字段与实际值不符,请从以下三方面去做排查
1、Platform7.5产品中表WFSYSTEMINFO中CONFIGVALUE字段值是V4.7(eos7.6环境该字段为V4.8),请查看出问题环境的表WFSYSTEMINFO中CONFIGVALUE字段值是多少;
2、对比能正常启动的环境与启动报错环境的产品安装路径Platform7.5\apache-tomcat-7.0.54\webapps\default\WEB-INF_srv\version\component文件夹下所有文件内容,查看是否有差异;
3、对于启动报错的环境,连接一个干净的数据库,重新执行Platform7.5初始化脚本,查看BpsServer能否正常启动。