aspose file tools*
The moose likes JBoss/WildFly and the fly likes javax.jms.JMSSecurityException: User null is NOT authenticated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "javax.jms.JMSSecurityException: User null is NOT authenticated" Watch "javax.jms.JMSSecurityException: User null is NOT authenticated" New topic
Author

javax.jms.JMSSecurityException: User null is NOT authenticated

deo swaroop
Ranch Hand

Joined: May 21, 2008
Posts: 30
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

Joined: Jul 20, 2005
Posts: 9327
    
110

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).

[My Blog] [JavaRanch Journal]
deo swaroop
Ranch Hand

Joined: May 21, 2008
Posts: 30
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

Joined: Aug 18, 2009
Posts: 43
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


Ravikanth Malyala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.jms.JMSSecurityException: User null is NOT authenticated
 
Similar Threads
getRemoteUser()
LDAP authentication in a web application.
why request.getRemoteUser() returning null
Form Based secruity...
javax.naming.NameNotFoundException: XAConnectionFactory not bound