2 Replies Latest reply on Aug 4, 2003 6:31 AM by deleze

    org.jboss.mq.SpyJMSException: Cannot authenticate user;

    Daniel Michalik Newbie

      After migrating JBoss server 3.2 from Windows to Linux the only JMS connection factory I can use is RMIConnectionFactory. Attempts to use othe factory ends with exception:

      Exception occurred: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (jav
      a.net.ConnectException: Connection refused: connect)
      org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.ConnectExcepti
      on: Connection refused: connect)
      at org.jboss.mq.Connection.authenticate(Connection.java:883)
      at org.jboss.mq.Connection.(Connection.java:238)
      at org.jboss.mq.Connection.(Connection.java:315)
      at org.jboss.mq.SpyConnection.(SpyConnection.java:59)
      at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:78)
      at cz.autel.jms.SimpleTopicPublisher.main(SimpleTopicPublisher.java:124)
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at javax.net.DefaultSocketFactory.createSocket(Unknown Source)
      at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563)
      at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507)
      at org.jboss.mq.il.oil.OILServerIL.authenticate(OILServerIL.java:289)
      at org.jboss.mq.Connection.authenticate(Connection.java:876)
      ... 5 more

      Could You please help with this problem?