2 Replies Latest reply on Dec 12, 2003 8:10 AM by Richard Bielak

    JMS problem connecting from remote machines

    atconc Newbie


      I'm using JBoss for a project at uni about JMS, I have written a simple Java application with 2 parts 1 that posts prime number candidates to a queue and another part that picks up candidates from the queue checks if they're actually prime and if they are posts them back to another queue on the JBoss server.

      The application works fine on the computer that JBoss is running on, I can have several instances of the client program picking up candidates and processing them. However when I try to run the client from another box on my LAN to show the performance increase from distributing the work I get the following error

      Exception occurred: org.jboss.mq.SpyJMSException: Cannot authenticate user; - ne
      sted throwable: (java.net.ConnectException: Connection refused: connect)

      I'm using the default install of JBoss, with 2 queues added in jbossmq-destinations-service

      It seems like the server wants some kind of user authentication, is there a way to let the clients connect annoymously?