Perhaps some kind individual could help me with my issue. I am trying to create a topic connection. I have retrieved the ConnectionFactory and when i call createTopicConnection() an exception is thrown..
org.jboss.mq.SpyJMSException: Cannot authenticate user
I understand the the createTopicConnection method is overloaded and can have username and password parameters. I am unsure where these might be found in the JBoss configuration files.
Can anyone help with this problem?
Yep, which jboss version? If it's 2.4.x look in /conf/jbossmq-state.xml.
Not 100% if it's the same in 3.0 but imagine something similar.
Put your user/password in here. Note that this is only required with durable subscriptions