[jboss-user] [JBoss Messaging] - Re: javax.jms.JMSSecurityException: User null is NOT authenticated

Rajesh Kumar do-not-reply at jboss.com
Wed Dec 7 13:08:56 EST 2011


Rajesh Kumar [http://community.jboss.org/people/jbossrulzz] created the discussion

"Re: javax.jms.JMSSecurityException: User null is NOT authenticated"

To view the discussion, visit: http://community.jboss.org/message/640399#640399

--------------------------------------------------------------
Hi all, 
 
 I finally managed to fix the issue and following is what we did: 
 
 Added the below given snippet to the mysql-ds.xml file which does a background check on the connection pool and ensures that there are no stale connection objects in the pool. Apparently, it was the stale connection objects which caused the issue. 
 
 <code> 
 <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name> 
 <background-validation-millis>100</background-validation-millis> 
 <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name> 
 </code> 
 
 Hope this helps some one who has the same issue and wants to know what could fix it.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/640399#640399]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111207/459c238c/attachment.html 


More information about the jboss-user mailing list