2013-01-16 111 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/ 

,如果你发布你想出来的端点配置它可以帮助 - 为了重现错误。

相关问题