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

gbansal80 do-not-reply at jboss.com
Tue Oct 13 23:38:30 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 messages javax.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>


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

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

More information about the jboss-user mailing list