3 Replies Latest reply on Aug 4, 2003 6:54 AM by deleze

    Cannot start a the client IL service; - nested throwable: (j

    jacqueso

      Cannot start a the client IL service; - nested throwable: (java.net.UnknownHostException: test04: test04)

      test04 is the hostname of the machine the Jboss is running on.


      We are using four point to point queues. They all work fine except the one . It runs fine for a while but the al of a sudden when we try to connect to queue we get the above mentioned message. I don't know what is wrong . Maybe the client code?

      HEre is the code


      iniCtx = new InitialContext();



      Object tmp = iniCtx.lookup("ConnectionFactory");

      QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;

      conn = qcf.createQueueConnection();

      que = (Queue) iniCtx.lookup(queName);

      session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);

      conn.start();


      Please can anyone give me some advice.