4 Replies Latest reply on Jan 20, 2005 4:13 PM by mikedougherty

    Struts error in webapp

    mikedougherty

      I checked out the latest version of the source from CVS yesterday and was able to build everything fine. I was also able to install the profiler and capture some data. But now when I am attempting to analyze the data and the webapp appears to be broken.

      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE
       org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
       org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
       org.apache.jsp.processMethods_jsp._jspService(processMethods_jsp.java:494)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      
      
      
      root cause
      javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
       org.apache.struts.util.RequestUtils.retrieveMessageResources(RequestUtils.java:1103)
       org.apache.struts.util.RequestUtils.message(RequestUtils.java:1043)
       org.apache.struts.util.RequestUtils.message(RequestUtils.java:1018)
       org.apache.struts.taglib.bean.WriteTag.retrieveFormatString(WriteTag.java:313)
       org.apache.struts.taglib.bean.WriteTag.formatValue(WriteTag.java:393)
       org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:292)
       org.apache.jsp.processMethods_jsp._jspx_meth_bean_write_0(processMethods_jsp.java:511)
       org.apache.jsp.processMethods_jsp._jspService(processMethods_jsp.java:130)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      
      
      
      note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
      


      Happens when I click on the "click here" link at the end of the processing.

      I am running this on Mac OS X (10.3.7) and JBoss 3.2.6. Is this a known issue? Any ideas on how to resolve it?

      Thanks,
      Mike

        • 1. Re: Struts error in webapp
          clebert.suconic

          I'm running both in a Linux and a Windows box with 3.2.6 without any problem.

          I will create a download package in one or two weeks which would solve this issue, but as for now, can you make sure you didn't have any errors while downloading the CVS tree. (Maybe downloading it again).

          Just in case, run it into a fresh copy a JBoss3.2.6 without any changes. (default server). Maybe you added or changed some library.

          These are the only things I could foresee.

          Clebert Suconic

          • 2. Re: Struts error in webapp
            mikedougherty

            Well, it seems to work if I remove the application I am trying to profile from the server/default/deploy directory. Is it conceivable that two applications running in JBoss and using Struts could clash with each other?

            • 3. Re: Struts error in webapp
              clebert.suconic

              I have been able to have two struts applications working fine.
              I will investigate that soon.

              I know that my answer will look kind of obvious, but right now, can you use another server instance to analyze the produced log files?

              Anyway... I'm planning to create a standalone application for JbossProfiler using it as a Eclipse plugin or a regular swing application. (TBD).

              Anyway... if anyone wanna help the swing application... :-)


              Thanks,


              Clebert

              • 4. Re: Struts error in webapp
                mikedougherty

                Thanks for your help Clebert.

                "clebert.suconic@jboss.com" wrote:
                I have been able to have two struts applications working fine.
                I will investigate that soon.

                I know that my answer will look kind of obvious, but right now, can you use another server instance to analyze the produced log files?


                yes, I just to read up on how to do that. I've been away from JBoss for a while and will have to remind myself ;).


                "clebert.suconic@jboss.com" wrote:
                Anyway... I'm planning to create a standalone application for JbossProfiler using it as a Eclipse plugin or a regular swing application. (TBD).


                Or IntelliJ? ;)

                "clebert.suconic@jboss.com" wrote:

                Anyway... if anyone wanna help the swing application... :-)


                I have some Swing experience and can devote some time to this.