• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javax.jms.JMSSecurityException: User null is NOT authenticated

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic