【问题标题】:Websphere start throws derby exceptionWebsphere 启动引发 derby 异常
【发布时间】:2017-07-14 12:38:23
【问题描述】:

当我尝试启动 WAS 8.5.5 时,我看到以下异常。我的申请中没有任何与德比相关的内容。如果我在没有任何应用程序的情况下启动服务器,那么我不会收到此异常。不幸的是,我在部署时看到了它。

ContainerHelp E   WSVR0501E: Error creating component com.ibm.ws.runtime.component.CompositionUnitMgrImpl@33cf2ee9
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeError: com.ibm.ejs.container.ContainerException: ; nested exception is: 
    javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR1010E: The current backend id,DERBY_V100_1, does not have equivalent deployed code in the jar.
    at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:322)
    at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:539)
    at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
    at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
    at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:252)
    at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:539)
    at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
    at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
    at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:523)
    at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:310)
    at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:223)
    ...
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:150)
Caused by: com.ibm.ws.exception.RuntimeError: com.ibm.ejs.container.ContainerException: ; nested exception is: 
    javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR1010E: The current backend id,DERBY_V100_1, does not have equivalent deployed code in the jar.
    at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:746)
    at com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:336)
    at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3576)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1175)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
    ...
    at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:994)
    at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
Caused by: com.ibm.ejs.container.ContainerException: ; nested exception is: 
    javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR1010E: The current backend id,DERBY_V100_1, does not have equivalent deployed code in the jar.
    at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:643)
    ... 15 more
Caused by: javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR1010E: The current backend id,DERBY_V100_1, does not have equivalent deployed code in the jar.
    at com.ibm.ws.ejbpersistence.beanextensions.PMModuleCookieImpl.getBindingName(PMModuleCookieImpl.java:460)
    at com.ibm.ws.ejbpersistence.beanextensions.PMModuleCookieImpl.beanInstall(PMModuleCookieImpl.java:365)
    at com.ibm.ws.ejbpersistence.beanextensions.PersistenceManagerImpl.beanInstall(PersistenceManagerImpl.java:66)
    at com.ibm.ws.runtime.component.WASEJBRuntimeImpl.addHome(WASEJBRuntimeImpl.java:1686)
    at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:639)
    ... 15 more
Caused by: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR1010E: The current backend id,DERBY_V100_1, does not have equivalent deployed code in the jar.
    at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanClassExtensionImpl.createPMException(ConcreteBeanClassExtensionImpl.java:340)
    ... 20 more

请建议我如何解决此问题。

【问题讨论】:

    标签: jakarta-ee websphere-8


    【解决方案1】:

    看起来这里已经回答了这个问题:"The current backend id,DB2UDBNT_V91_1, does not have equivalent deployed code in the jar." error while WAS 8.5 server startup

    无论如何,我的问题得到了解决。'ibm_pmbab.properties' 文件在 META_INF 的后端文件夹中丢失,添加后,问题得到解决。谢谢。

    【讨论】:

    • 我在哪里可以得到这个文件,因为我在我的 WAS 安装中找不到它,我需要在这里做任何配置吗?
    • This link 使它看起来应该由 EJBDeploy 生成
    • 感谢您的回复...我对 WAS 很陌生,在我之前安装的 WAS 7 中没有这样的文件夹或文件。此外,我没有单独的 EJB 组件,因此我可以显式部署它。那么使用标准部署应该已经生成了这个文件吗?现在因为这不是我应该采取什么步骤来修复它。
    最近更新 更多