[jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated

gbansal80 do-not-reply at jboss.com
Thu Oct 8 04:37:24 EDT 2009


We are currently using JBoss v4.2.3.ga and have upgraded JBoss messaging to v 1.4.4 and JBoss remoting to v2.2.3.

JMS messages are sent & received without any exceptions for initial 3-4 days. After that we are observing exception messagesjavax.jms.JMSSecurityException: User null is NOT authenticated, whenever we are trying to create the connection.

We have seen that there is no deadlock on JBoss AS and other DB operations are working normally. 

We are using the following security domain for JMS

    <application-policy name="messaging">
       
          <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
             flag = "required">
             <module-option name = "unauthenticatedIdentity">guest</module-option>
             <module-option name = "dsJndiName">java:/DefaultDS</module-option>
             <module-option name = "principalsQuery">SELECT PASSWD FROM JBM_USER WHERE USER_ID=?</module-option>
             <module-option name = "rolesQuery">SELECT ROLE_ID, 'Roles' FROM JBM_ROLE WHERE USER_ID=?</module-option>
          </login-module>
       
    </application-policy>


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259299#4259299

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259299



More information about the jboss-user mailing list