1 Reply Latest reply on Jan 13, 2005 8:25 PM by Scott Stark

    Invoke causes Status 500 HTTP Error

    Michael Arnett Newbie

      Hi all,
      Hopefully, this issue has not been covered elsewhere. I have seen this behaviour on 3.2.3 and 3.2.6.
      Basically, after starting JBoss 3.2.6 (all server config), a user can go to http://somehost.com:5555/jmx-console and view the jmx-console. Additionally, a user can click on a link, such as JNDIView to see the related details. However, if a user clicks on ANY of the Invoke buttons, the requested action is completed, but the resulting HTTP response is a Status 500 message. Therefore, to stop delivery for a MDB, this is only a minor annoyance, but for informational responses, such as JNDIView, it is completely disabling. Here is an example of the output from server.log when a user has attempted to invoke the list method (verbose=true) under JNDIView:

      2005-01-13 10:24:44,622 DEBUG [org.apache.coyote.tomcat5.CoyoteAdapter] Requested cookie session id is B83D0B468D096513CFD726018AD6935F
      2005-01-13 10:24:44,622 DEBUG [org.apache.catalina.core.StandardWrapper] Returning non-STM instance
      2005-01-13 10:24:44,623 DEBUG [org.apache.catalina.core.ApplicationDispatcher] servletPath=/inspectMBean.jsp, pathInfo=null, queryString=null, name=null
      2005-01-13 10:24:44,623 DEBUG [org.apache.catalina.core.ApplicationDispatcher] Path Based Forward
      2005-01-13 10:24:44,624 DEBUG [org.apache.catalina.core.StandardWrapper] Returning non-STM instance
      2005-01-13 10:24:44,624 DEBUG [org.apache.jasper.servlet.JspServlet] JspEngine --> /inspectMBean.jsp
      2005-01-13 10:24:44,624 DEBUG [org.apache.jasper.servlet.JspServlet] ServletPath: /inspectMBean.jsp
      2005-01-13 10:24:44,624 DEBUG [org.apache.jasper.servlet.JspServlet] PathInfo: null
      2005-01-13 10:24:44,624 DEBUG [org.apache.jasper.servlet.JspServlet] RealPath: /opt/jboss-3.2.6-prod/server/all/deploy/jmx-console.war/inspectMBean.jsp
      2005-01-13 10:24:44,624 DEBUG [org.apache.jasper.servlet.JspServlet] RequestURI: /jmx-console/inspectMBean.jsp
      2005-01-13 10:24:44,624 DEBUG [org.apache.jasper.servlet.JspServlet] QueryString: action=inspectMBean&name=jboss%3Aservice%3DJNDIView
      2005-01-13 10:24:44,624 DEBUG [org.apache.jasper.servlet.JspServlet] Request Params:
      2005-01-13 10:24:44,625 DEBUG [org.apache.jasper.servlet.JspServlet] action = inspectMBean
      2005-01-13 10:24:44,625 DEBUG [org.apache.jasper.servlet.JspServlet] name = jboss:service=JNDIView
      2005-01-13 10:24:44,637 DEBUG [org.apache.catalina.core.ApplicationDispatcher] Disabling the response for futher output
      2005-01-13 10:24:44,840 DEBUG [org.apache.catalina.core.StandardWrapper] Returning non-STM instance
      2005-01-13 10:24:48,963 DEBUG [org.apache.coyote.tomcat5.CoyoteAdapter] Requested cookie session id is B83D0B468D096513CFD726018AD6935F
      2005-01-13 10:24:48,964 DEBUG [org.apache.catalina.core.StandardWrapper] Returning non-STM instance
      2005-01-13 10:24:48,989 DEBUG [org.apache.catalina.core.ApplicationDispatcher] servletPath=/displayOpResult.jsp, pathInfo=null, queryString=null, name=null
      2005-01-13 10:24:48,989 DEBUG [org.apache.catalina.core.ApplicationDispatcher] Path Based Forward
      2005-01-13 10:24:48,989 DEBUG [org.apache.catalina.core.StandardWrapper] Returning non-STM instance
      2005-01-13 10:24:48,989 DEBUG [org.apache.jasper.servlet.JspServlet] JspEngine --> /displayOpResult.jsp
      2005-01-13 10:24:48,989 DEBUG [org.apache.jasper.servlet.JspServlet] ServletPath: /displayOpResult.jsp
      2005-01-13 10:24:48,989 DEBUG [org.apache.jasper.servlet.JspServlet] PathInfo: null
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] RealPath: /opt/jboss-3.2.6-prod/server/all/deploy/jmx-console.war/displayOpResult.jsp
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] RequestURI: /jmx-console/displayOpResult.jsp
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] QueryString: null
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] Request Params:
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] methodIndex = 0
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] action = invokeOp
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] arg0 = True
      2005-01-13 10:24:48,990 DEBUG [org.apache.jasper.servlet.JspServlet] name = jboss:service=JNDIView
      2005-01-13 10:24:48,993 ERROR [org.jboss.web.localhost.Engine] ApplicationDispatcher[/jmx-console] Servlet.service() for servlet jsp threw exception
      java.lang.NoSuchFieldError: args
      at org.apache.jsp.displayOpResult_jsp._jspService(displayOpResult_jsp.java:88)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:175)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:78)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:60)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)
      2005-01-13 10:24:48,998 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[HtmlAdaptor]: Servlet.service() for servlet HtmlAdaptor threw exception
      java.lang.NoSuchFieldError: args
      at org.apache.jsp.displayOpResult_jsp._jspService(displayOpResult_jsp.java:88)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:175)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:78)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:60)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)
      2005-01-13 10:24:49,141 DEBUG [org.apache.catalina.core.StandardWrapper] Returning non-STM instance


      Please let me know what additional info may be of assistance.

      Thanks in advance,
      -MLA

      JBoss 3.2.6
      OS: Solaris 2.9
      Java: 1.4.2_01
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
      Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)