3 Replies Latest reply on Feb 21, 2006 2:52 PM by Scott Stark

    sometimes "User session not valid" but no authorization done

    Edwin Litterst Newbie

      Hi,

      sorry for double posting but I just found out that I probably used the wrong forum with the first posting.

      I am sending quite a bit of JMS messages through several queues in my system.
      From time to time it happens that I get a JMSSecurityException (listed below).

      I am doing no authorization at all, in the last run e.g. it worked for 1935 of 1936 messages, only one failed.

      What could be the problem here?

      Eddie

      --- Nested Exception ---
      javax.jms.JMSSecurityException: User session is not valid
      at org.jboss.mq.security.SecurityManager.authorize(SecurityManager.java:
      230)
      at org.jboss.mq.security.ServerSecurityInterceptor.authorizeWrite(Server
      SecurityInterceptor.java:249)
      at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecu
      rityInterceptor.java:151)
      at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.
      java:270)
      at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java
      :136)
      at org.jboss.mq.il.jvm.JVMServerIL.addMessage(JVMServerIL.java:136)
      at org.jboss.mq.Connection.sendToServer(Connection.java:1020)
      at org.jboss.mq.SpySession.sendMessage(SpySession.java:1005)
      at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:265)
      at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:199)
      [my classes]