0 Replies Latest reply on Apr 11, 2006 4:05 PM by Leonardo Silva

    Connection to Queue behind a firewall

    Leonardo Silva Newbie

      I need to know why I can not connect from a remote client to a queue. I have opened the ports I guess it use to connect: 1098, 1099, 8092 and 8093 TCP and 1102 UDP.

      JBOSS is configured in cluster (all configuration)

      The client can tell wether the queue exists or not. If the queue exists, the client can not connect.

      The client code:
      QueueConnectionFactory qcf;
      InitialContext ctx;
      QueueConnection qc;
      Queue queue;
      ctx = new InitialContext();
      queue =(Queue) ctx.lookup("queue/testQueue1");
      System.out.println("Looking up connection factory");
      qcf = (QueueConnectionFactory)ctx.lookup("UIL2ConnectionFactory");
      qc = qcf.createQueueConnection("login","password");/*HERE THERE ARA PRBLEMS*/

      I hope somebody can tell me where there is a problem.

      PS: I Have opened other jboss port's in the firewall, but I don't think they are usefull