MobileFirst8.0-无法从应用程序控制台

时间:2016-10-26 12:17:03

标签: ibm-mobilefirst mobilefirst-adapters mobilefirst-console

我无法从控制台删除适配器/应用程序,它会不断显示:

  

RuntimeException:同步失败

附加屏幕截图enter image description here

Messages.log

  

[10/26/16 17:59:34:790 IST] 00000021 com.mfp.adapter.SecurityAdapterApplication I适配器已初始化!   [10/26/16 17:59:34:797 IST] 00000021 rnal.connectivity.synchronization.RuntimeSynchronizationBean E FWLSE0324:运行时同步失败。引起:java.lang.RuntimeException:找不到适配器' SecurityAdapter' 的资源类   com.ibm.mfp.server.core.shared.deployment.DeploymentException:java.lang.RuntimeException:找不到适配器' SecurityAdapter'的资源类。       在com.ibm.mfp.server.java.adapter.internal.deploy.JaxRsSandboxDeploymentHandler.deploy(JaxRsSandboxDeploymentHandler.java:131)       在com.ibm.mfp.server.java.adapter.internal.deploy.JaxRsSandboxDeploymentHandler.deploy(JaxRsSandboxDeploymentHandler.java:47)       在com.ibm.mfp.server.core.internal.deployment.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:187)       在com.ibm.mfp.server.core.internal.deployment.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:484)       在com.ibm.mfp.server.core.internal.deployment.DeploymentManagerImpl.changeDeploymentState(DeploymentManagerImpl.java:360)       在com.ibm.mfp.server.mgmt.internal.connectivity.synchronization.RuntimeSynchronizationBean.sync(RuntimeSynchronizationBean.java:207)       at com.ibm.mfp.server.mgmt.internal.connectivity.synchronization.RuntimeMBeanExporterListener.mbeanRegistered(RuntimeMBeanExporterListener.java:71)       在org.springframework.jmx.export.MBeanExporter.notifyListenersOfRegistration(MBeanExporter.java:1055)       在org.springframework.jmx.export.MBeanExporter.onRegister(MBeanExporter.java:1029)       在org.springframework.jmx.support.MBeanRegistrationSupport.onRegister(MBeanRegistrationSupport.java:301)       在org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:229)       在org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:670)       在org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:615)       在org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:550)       在org.springframework.jmx.export.MBeanExporter.afterSingletonsInstantiated(MBeanExporter.java:432)       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)       在org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)       在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)       在org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)       在org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:629)       在org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:677)       在org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:548)       在org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)       在org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)       在javax.servlet.GenericServlet.init(GenericServlet.java:244)       在com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:332)       在com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1423)       在com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:1180)       在com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:1148)       在com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:1054)       在com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6448)       在com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:446)       在com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApplication(DynamicVirtualHost.java:441)       在com.ibm.ws.webcontainer.osgi.WebContainer.startWebApplication(WebContainer.java:981)       在com.ibm.ws.webcontainer.osgi.WebContainer.startModule(WebContainer.java:805)       在com.ibm.ws.app.manager.web.internal.WebModuleHandlerImpl.deployModule(WebModuleHandlerImpl.java:102)       在com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployModule(DeployedAppInfoBase.java:870)       在com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployModules(DeployedAppInfoBase.java:830)       在com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployApp(DeployedAppInfoBase.java:817)       在com.ibm.ws.app.manager.war.internal.WARApplicationHandlerImpl.install(WARApplicationHandlerImpl.java:66)       在com.ibm.ws.app.manager.internal.statemachine.StartAction.execute(StartAction.java:139)       在com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.enterState(ApplicationStateMachineImpl.java:1168)       在com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.run(ApplicationStateMachineImpl.java:781)       在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)       at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)       在java.lang.Thread.run(Thread.java:745)   引起:java.lang.RuntimeException:找不到适配器' SecurityAdapter'的资源类。       在com.ibm.mfp.server.java.adapter.shared.JAXRSSandbox.produceSwaggerDoc(JAXRSSandbox.java:241)       在com.ibm.mfp.server.java.adapter.shared.JAXRSSandbox.init(JAXRSSandbox.java:165)       在com.ibm.mfp.server.java.adapter.internal.deploy.JaxRsSandboxDeploymentHandler.deploy(JaxRsSandboxDeploymentHandler.java:119)       ......还有45个

     

[10/26/16 17:59:34:802 IST] 00000021 connectivity.synchronization.AdminSynchronizationInterceptor I运行时服务被阻止,当前状态:需要同步   [10/26/16 17:59:34:804 IST] 00000067 com.mfp.datamatics.IntegrationAdapterStubApplication I适配器被破坏!

1 个答案:

答案 0 :(得分:0)

目前还不清楚你是如何设法解决这个错误的:

  

FWLSE0324:运行时同步失败。引起:java.lang.RuntimeException:找不到适配器'SecurityAdapter'的资源类

从表面上看,此错误可能意味着您从适配器中删除了资源.java文件,但在 adapter.xml 文件中保留了资源的JAXRSApplicationClass定义。 / p>

为了更好地理解这个问题,请将您的.adapter文件上传到某处,以便进行调试。

至于你可以做什么同时清理数据库,我尝试了各种方法,但看起来只是重新安装devkit目前工作...