Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.jms.JMSSecurityException: User null is NOT authenticated

 
deo swaroop
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Any idea why I get below exception:-
javax.jms.JMSSecurityException: User null is NOT authenticated.

(this exception comes in clustered JBOSS environment.)


Thanks in advance,
Deo Swaroop
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll have to provide more details including the JBoss AS version, the Java version and your application details. Also post the entire exception stacktrace.

P.S: While posting logs, xml or code, remember to wrap them in a code block (you can use the Code button in the message editor window).
 
deo swaroop
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we are using whp-jboss-5.2.2.3. The nodes are clustered and this probably happens when sending the messages across the node.

I dont have the entire stack trace, but the related one is :

2010-10-07 20:06:53,198 -0700 level=ERROR class=com.intuit.cc.configuration.BaseConfiguration throwing
javax.jms.JMSSecurityException: User null is NOT authenticated
at org.jboss.jms.server.security.SecurityMetadataStore.authenticate(SecurityMetadataStore.java:200) [jboss-messaging.jar:1.4.0.SP3-CP07 (build: CVSTag=JBossMessaging_1_4_0_SP3_CP07 date=200902111353)]
at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233) [jboss-messaging.jar:1.4.0.SP3-CP07 (build: CVSTag=JBossMessaging_1_4_0_SP3_CP


 
ravikanth reddy
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Problem might be due to the user is not defined in users.properties and corresponding role needs to be mapped in roles.properties.
File location in JBOSS-4.2.3.GA ($JBOSS_HOME/server/instance/conf/props ). I dont know about jboss-5.X.X version
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic