0 Replies Latest reply on May 6, 2005 4:55 AM by bk1_168

    Illegal State Exception with EJB via http-communication

    bk1_168

      I am using JBoss 3.2.1 with Jetty and I am using http as a communication mechanism between the EJB-clients and JBoss. This works fine 99% of the time, but sporadically I am observing errors of the following type in the log file:

      16:00:10,000 WARN [jbossweb] WARNING: Exception for /invoker/EJBInvokerServlet
      java.lang.IllegalStateException: committed
       at org.mortbay.jetty.servlet.ServletHttpResponse.resetBuffer(ServletHttpResponse.java:224)
       at org.jboss.invocation.http.servlet.InvokerServlet.processRequest(InvokerServlet.java:145)
       at org.jboss.invocation.http.servlet.InvokerServlet.doPost(InvokerServlet.java:171)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
       at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
       at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
       at org.mortbay.http.HttpServer.service(HttpServer.java:863)
       at org.jboss.jetty.Jetty.service(Jetty.java:460)
       at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
       at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
      


      In addition I can observer sporadic misfunction of the application, which seem to occur conjunction with the existence of these log entries, if I compare the time stamps in the log file with the time of the occurance of the misfunction.

      Best regards,

      KB