1 Reply Latest reply on Apr 21, 2008 4:02 PM by clebert.suconic

    org.jboss.jms.client.container.ClosedInterceptor ERROR

    harish43

      JBM 1.4.0 SP3
      JBoss 4.2.2 GA
      JDK 1.5.0_06
      RedHat Linux

      I am getting the following error multiple times in a load test I am running.
      It does not happen on every message being processed but on most of them.

      ERROR [org.jboss.jms.client.container.ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[249]: method createMapMessage() did not go through, the interceptor is CLOSED.

      The createMapMessage() method is being called on the QueueSession class.

      There are also NullPointerExceptions happening sometimes in the call to QueueSession.createMapMessage() which tells me that the QueueSession is null for some messages (but not for others).

      I am also running into memory issues after a few hours into the test.

      If anyone has any ideas it will be greatly appreciated.


        • 1. Re: org.jboss.jms.client.container.ClosedInterceptor ERROR
          clebert.suconic

          You probably closed some of the Objects you're using...

          You probably closed the connection, the Session or the Producer itself.


          When you close the Connection, the whole hierarchy of objects will be also created. For example,

          If you do this:

          Connection a = .... create the connection.
          Session b = ... a.createSession....
          MessageProducer c = b.createProducer...


          when you do a.close();


          both b and c will be closed after this call.