• Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.jms.JMSSecurityException: User name [null] or password is invalid  RSS feed

 
Fahad Muhammad
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a simple JMS sender and receiver.
I use jboss-amq as the broker.
They use jndi to lookup values.

jndi.properties

 

Using these values I got the following exception:

   

I noticed that if I add the following to the jndi file

   

The two programs runs without errors

So, What is the problem with first approach?
 
Fahad Muhammad
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also noticed if I change

to

it works.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!