1 Reply Latest reply on Jul 16, 2003 4:18 PM by monu

    JMSSecurityException: User: null is NOT authenticated

    monu

      Hi,

      I have not set any security constraints for my queue. The simulator program, which sends message continuously to queue. But when number of messages in the queue reaches more or less around 30,000 Jboss starts throwing exception "JMSSecurityException: User: null is NOT authenticated". I am using Jboss3.2.1 and using Rolling Logged persistence.

      Kindly give me your advice/suggestion/solution to resolve this problem.

      Thanks in advance,

      Regards,
      Monu

        • 1. Re: JMSSecurityException (Very Urgent)
          monu

          Hi,

          I have created queue by adding the below to jbossmq-destination-service.xml file.


          <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
          <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager









          I m creating connection like this:

          QueueConnectionFactory factory = (QueueConnectionFactory) getConnectionFactory();
          QueueConnection queueConnection = factory.createQueueConnection("guest","guest");
          queueConnection.start();

          I have a java program, which send messages to queue. For 20-30 minutes it works fine after that it starts throwing exception.

          &#8220;javax.jms.JMSSecurityException: User: guest is NOT authenticated.&#8221;


          Kindly help me in solving this problem.

          Thanks in advance,

          Regards,
          Monu