用户登录流程崩溃

时间:2015-07-24 21:54:09

标签: java jsp tomcat wso2 wso2-emm

我启动了wso2服务器,并尝试使用新用户登录,我遇到了这个崩溃:

  

[2015-07-24 14:33:50,128] ERROR {org.apache.tiles.jsp.context.JspTilesRequestContext} - 包含路径'/user-registration/add_user.jsp'时的JSPException。   javax.servlet.jsp.JspException:包含页面时的ServletException。       在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)       在org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)       在org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)       在org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)       在org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)       在org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)       在org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)       at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)       在org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)       在org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:848)       在org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)       在org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)       在org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:848)       在org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)       在org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:848)       在org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)       在org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)       在org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)       在org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:848)       在org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)       在......

似乎jira管道中存在类似的错误:

https://www.wso2.org/jira/browse/CARBON-4616

编辑: 我从这里的下载链接运行WSO2 1.1.0:
https://docs.wso2.com/display/EMM110/Downloading+the+Product

我在Yosemite(10.10.3)上运行它

我的JDK版本是1.8.0_45-b14

1 个答案:

答案 0 :(得分:0)

如果[$HOME]/bin/wso2server.sh文件中缺少以下参数,则通常会发生此问题。

-D文件中定义其他wso2server.sh参数的位置添加此值。

-D org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false \