[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - org.jboss.mq.SpyJMSException: Cannot authenticate user

ashish.abrol@gmail.com do-not-reply at jboss.com
Thu Jun 12 10:57:25 EDT 2008


Hi 

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.

thanks
Ashish 

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=4157708#4157708

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



More information about the jboss-dev-forums mailing list