org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable:
i have an application that having a jms client communicating with the jboss server (Topic) and sending messages .The jboss server is installed in a private ip machine and connected to the public ip machine in which the related ports are forwarded to the private ip machine . After that when communicating through the public ip from the external network i got all the access to the jboss(ejbs) except that of the Connection to the topic(durable).the exception thrown in the line
qcf.createTopicConnection();
the exception is
Thanks in advance
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.ConnectException: Connection timed out: connect)
at org.jboss.mq.Connection.authenticate(Connection.java:1168)
at org.jboss.mq.Connection.<init>(Connection.java:255)
at org.jboss.mq.Connection.<init>(Connection.java:332)
at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:66)
at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:136)

