1 Reply Latest reply on Apr 1, 2013 1:17 PM by Paul Kellam

    javax.servlet.jsp.JspTagException: No message found under code ... for locale ...

    Paul Kellam Newbie

      We have a server with a couple applications installed on it, that was running okay. It was restarted (related to replacing expired certificates).  When it came back up, I found that the JBOSS service hadn’t been set to start automatically.  Now it’s showing the error below and I really don’t know where to look for the cause of the problem – for example, another service that isn’t started or a configuration file that needs to be updated (though since it was running okay before, I’m not sure why that would be).

       

      Any suggestions?

       

       

      HTTP Status 500 -


      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: An exception occurred processing JSP page /error.jsp at line 38  35:                                    Logger log = LoggerFactory.getLogger("error.jsp"); 36:                                    log.error("error.jsp",exception); 37:                               %> 38:                               <spring:message code="xyzerror.generalerror"></spring:message> 39:                               </div> 40:                               <div style="height:50px;clear:both"></div> 41:                          </td>   Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59) com.xyzsystems.framework.EncodingFilter.doFilter(EncodingFilter.java:36) 

      root cause

      javax.servlet.ServletException: javax.servlet.jsp.JspTagException: No message found under code 'xyzerror.generalerror' for locale 'en_GB'. org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791) org.apache.jsp.error_jsp._jspService(error_jsp.java:118) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59) com.xyzsystems.framework.EncodingFilter.doFilter(EncodingFilter.java:36) 

      root cause

      javax.servlet.jsp.JspTagException: No message found under code 'xyzerror.generalerror' for locale 'en_GB'. org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:184) org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79) org.apache.jsp.error_jsp._jspx_meth_spring_005fmessage_005f0(error_jsp.java:137) org.apache.jsp.error_jsp._jspService(error_jsp.java:102) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59) com.xyzsystems.framework.EncodingFilter.doFilter(EncodingFilter.java:36) 

      note The full stack trace of the root cause is available in the JBoss Web/3.0.0-CR1 logs.


      JBoss Web/3.0.0-CR1