5 Replies Latest reply on Feb 22, 2010 11:52 AM by Peter Johnson

    IllegalStateException thrown by InvokerServlet

    Brad - Newbie

      Hi all,

       

      We got this stack trace in our server log. Unfortunately we have no information on what request was being processed at the time as none of our code is in the trace. Looks like the  IllegalStateException was a secondary exception whilst handling the initial problem (InvokerServlet line 193 is inside a catch block).

       

      java.lang.IllegalStateException
      at org.apache.catalina.connector.ResponseFacade.resetBuffer(ResponseFacade.java:288)
      at org.jboss.invocation.http.servlet.InvokerServlet.processRequest(InvokerServlet.java:193)
      at org.jboss.invocation.http.servlet.InvokerServlet.doPost(InvokerServlet.java:224)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)

        • 1. Re: IllegalStateException thrown by InvokerServlet
          Brad - Newbie
          I should probably add that this is JBoss version 5.1.0-GA running under JDK jdk1.6.0_16 on Windows Server 2003 32 bit.
          • 2. Re: IllegalStateException thrown by InvokerServlet
            Brad - Newbie
            Are there any objections to me creating a JIRA bug report for this?
            • 3. Re: IllegalStateException thrown by InvokerServlet
              Peter Johnson Master

              Is this stack trace that you posted from the browser? If so, there should be a corresponding log message with an exception stack trace in the console log or server.log, please post that - it usually has more information about what went wrong.

               

              Please do not create a JIRA until we determine where the fault lies.

              • 4. Re: IllegalStateException thrown by InvokerServlet
                Brad - Newbie

                The stack trace is from the log, although I had missed the initial log message (apologies):

                 

                2010-02-19 13:59:22,875 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/invoker].[JMXInvokerServlet]] Servlet.service() for servlet JMXInvokerServlet threw exception
                java.lang.IllegalStateException
                    at org.apache.catalina.connector.ResponseFacade.resetBuffer(ResponseFacade.java:288)
                    at org.jboss.invocation.http.servlet.InvokerServlet.processRequest(InvokerServlet.java:193)
                    at org.jboss.invocation.http.servlet.InvokerServlet.doPost(InvokerServlet.java:224)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                    at java.lang.Thread.run(Thread.java:619)

                • 5. Re: IllegalStateException thrown by InvokerServlet
                  Peter Johnson Master
                  Yeah, that is not much to go on. Looks like someone is going ot have to debug this. A JIRA with the app attached is probably necessary. (Wrote the guy who won't have to do the work to debug this...)