[jboss-user] [Messaging, JMS & JBossMQ] - org.jboss.mq.SpyJMSException: Cannot authenticate user

ashish.abrol@gmail.com do-not-reply at jboss.com
Thu Jun 12 11:39:12 EDT 2008


I am trying to connect to JBoss MQ which is running on a remote unix box.

I am simulating a client from a windows machine. I am unable to connect because of a authentication issue. I am not exactly sure what is it that causes it. I am a newbie. Please see the exception below. I would much appreciate if somebody could solve my problem.

Note: I have tried "telnet  1099 and I do get a response back. so I guess there is not firewall issue.


org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.ConnectException: Connection refused: connect)
at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
at org.jboss.mq.Connection.authenticate(Connection.java:1118)
at org.jboss.mq.Connection.(Connection.java:267)
at org.jboss.mq.Connection.(Connection.java:338)
at org.jboss.mq.SpyConnection.(SpyConnection.java:68)
at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:124)
at JbossSample.runExample(JbossSample.java:104)
at JbossSample.main(JbossSample.java:159)
Caused by: java.net.ConnectException: Connection refused: connect 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157723#4157723

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157723

More information about the jboss-user mailing list