• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with jms/TopicConnectionFactory  RSS feed

Andrew Richards
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am testing some simple JMS programs, both point to point and publish and subscribe, using J2ee.
I am getting a NoSuchUserException when trying to connect to the jms/TopicConnectionFactory using a username & password.
I have tried setting up my own Factory with a user name and password as properties but to no avail:
j2eeadmin -addJmsFactory MyFactory topic -props username=andrew password=sothere
Is there some easy/clever way of adding username/password to the TopicConnectionFactory that I haven't found yet?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!