2013-01-16 165 views
2

我使用WSO2Carbon版本4.0.3,並通過安裝WSO2 WSAS應用程序服務器和WSO2 ESB進行配置。WSO2碳管理控制檯異常

我創建了一個RESTful(JAX-RS)樣例Web服務並將其部署到WSO2 Application Aerver(WSO2 AS)。我使用瀏覽器測試了部署的服務,它工作正常。

在嘗試時,我決定使用WSO2 ESB與示例Web服務進行交互。我使用WSO2 Carbon管理控制檯成功創建了一個Web服務端點。

現在,當我嘗試查看使用管理控制檯上的菜單創建的端點時,僅顯示空白頁。查看wso2server控制檯日誌,我看到每次嘗試訪問端點時拋出此異常:

[2013-01-16 11:07:43,064] ERROR {org.apache.tiles.jsp.context.JspTilesRequestContext} - JSPException while including path '/endpoints/index.jsp'. 
javax.servlet.jsp.JspException: ServletException while including page. 
    at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102) 
    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) 

任何人都可以幫助我解決此異常嗎?

WSO2文檔非常含糊,缺乏,我看到散佈在各個博客中的示例/信息。我很難找到有關WSO2 ESB設置的信息,瞭解序列,調解器,它們如何相互作用,爲什麼必須進行配置等等。

回答

2

我看到異常發生時有一些配置錯誤。你可以嘗試去服務總線 - >源代碼視圖,看看你創建的實際上是否存在 - 如果你能看到它,嘗試刪除它,這可能會擺脫異常。如果您不能刪除您創建這樣的端點,嘗試將其取出:

$ESB_HOME/repository/deployment/server/synapse-configs/default/endpoints/ 

,如果你發佈你想出來的端點配置它可以幫助 - 爲了重現錯誤。

相關問題