2013-06-20 46 views
0

我遇到訪問WSO2 ESB管理控制檯的問題:4.5.1版問題 - ESB 4.5.1版

當我登錄到控制檯,我收到了一大堆跟蹤並且不能訪問在esb上運行的任何功能/服務。

任何人都可以幫忙嗎?

堆棧下面跟蹤:

error 
The following error details are available. Please refer logs for more details. 
org.apache.axis2.AxisFault: Cannot get all services. Backend service may be unavailable 
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.handleException(ServiceAdminClient.java:427) 
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.getAllServices(ServiceAdminClient.java:89) 
at org.apache.jsp.service_002dmgt.index_jsp._jspService(index_jsp.java:168) 
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) 
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161) 
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) 
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) 
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) 
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690) 
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599) 
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:536) 
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37) 
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265) 
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) 
at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:643) 
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:637) 
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:616) 
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87) 
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88) 
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82) 
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465) 
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140) 
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117) 
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171) 
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75) 
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80) 
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(template_jsp.java:539) 
at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:290) 
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) 
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161) 
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) 
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) 
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) 
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690) 
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:477) 
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) 
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) 
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30) 
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:258) 
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198) 
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185) 
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419) 
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370) 
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52) 
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) 
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) 
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) 
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) 
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) 
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:172) 
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) 
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) 
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001) 
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) 
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
at java.lang.Thread.run(Thread.java:679) 
Caused by: org.apache.axis2.AxisFault: Cannot retrieve security scenario for service CampusITCourseUpdateService 
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) 
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) 
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) 
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) 
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) 
at org.wso2.carbon.service.mgt.stub.ServiceAdminStub.listServices(ServiceAdminStub.java:8211) 
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.getAllServices(ServiceAdminClient.java:87) 
... 98 more 

回答

0

首先檢查,您有任何數據庫連接,將數據 基地是關機

如果確定,然後,再去。 www.wso2.org然後下載新的郵政編碼 文件,並將所有服務轉移到該服務器上。請檢查數據庫 是否啓動,然後啓動服務器。

希望這會幫助你,任何懷疑讓我知道..

0

看來,當你使用H2數據庫和wso2 proccess突然死亡問題發生。

在我的情況下,我正在用eclipse調試一個.arr服務(RemoteProvisioningServiceWS.aar),並且wso2在調試模式下啓動,eclipse凍結並且我必須殺死eclipse和wso2。當我試圖重啓wso2時,我正在調試的.arr顯然沒有正確加載。

[2015-01-26 16:18:51,470] ERROR {org.apache.axis2.engine.AxisConfiguration} - Error occured while notifying observer 
java.lang.RuntimeException: Cannot handle service DEPLOY event for service: RemoteProvisioningServiceWS 
     at org.wso2.carbon.security.deployment.SecurityDeploymentInterceptor.serviceUpdate(SecurityDeploymentInterceptor.java:205) 
     at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:651) 
     at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:405) 
     at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:606) 
     at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:100) 
     at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) 
     at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810) 
     at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) 
     at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) 
     at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) 
     at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) 
     at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) 
     at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) 
     at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:59) 
     at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:70) 
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 
     at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) 
     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) 
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) 
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) 
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 
     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) 
Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog 
at [row,col {unknown-source}]: [1,0] 
     at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296) 
     at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109) 
     at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570) 
     at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566) 
     at org.wso2.carbon.core.persistence.PersistenceUtils.getResourceDocumentElement(PersistenceUtils.java:405) 
     at org.wso2.carbon.core.persistence.file.ServiceGroupFilePersistenceManager.beginTransaction(ServiceGroupFilePersistenceManager.java 
:78) 
     at org.wso2.carbon.security.deployment.SecurityDeploymentInterceptor.serviceUpdate(SecurityDeploymentInterceptor.java:165) 
     ... 23 more 
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog 
at [row,col {unknown-source}]: [1,0] 
     at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677) 
     at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2116) 
     at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2022) 
     at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1114) 
     at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681) 
     at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214) 
     ... 29 more 
[2015-01-26 16:18:51,579] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: RemoteProvisioningServiceWS.aar - f 
ile:/C:/WSO2AS~1.0B/bin/../repository/deployment/server/axis2services/RemoteProvisioningServiceWS.aar 

如果你試圖打開服務聯合國的WSO2 Web控制檯的列表,並出現錯誤:

System Error Occurred 
error 
The following error details are available. Please refer logs for more details. 
org.apache.axis2.AxisFault: Cannot get all services. Backend service may be unavailable 
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.handleException(ServiceAdminClient.java:427) 
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.getAllServices(ServiceAdminClient.java:89) 
at org.apache.jsp.service_002dmgt.index_jsp._jspService(index_jsp.java:168) 
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) 
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 

似乎是與數據庫中的一個問題,我不建議使用H2 db和在mySql中爲開發和生產環境配置wso2,只能在本地使用h2。

要解決該問題:下載相同版本的wso2解壓縮並複製或再次安裝所有服務和應用程序,重新啓動,一切都會恢復正常。

2

這可能是由於損壞的服務元文件。 您可以嘗試以下步驟。

  1. 停工時,該服務器
  2. 採取以下目錄的備份。 /repository/deployment/server/servicemetafiles
  3. 刪除上述目錄的內容。
  4. 啓動服務器。