2012/05/23

[spring] Could not access JMS invoker queue

org.springframework.remoting.RemoteAccessException:
Could not access JMS invoker queue [name]; nested exception is javax.jms.JMSException: User name or password is invalid. at ...
當遇到這類 exception,表示 client 在 JMS 中登入失敗,檢查一下 JMS 有沒有設定這組帳號密碼,或是有沒有打錯。在 ActiveMQ 中,如果要新增或設定帳號密碼,需到 conf/activemq.xml 作設定。

設定的方式 (官方網站)
http://activemq.apache.org/security.html

沒有留言:

張貼留言