1 Reply Latest reply on Feb 6, 2004 4:27 PM by sebastien

    client queue deconnection

    sebastien Newbie

      Hello !
      I'm having exceptions logged in the jboss (3.2.0) server log whenever it tries to send notifications to a dead client. I know this happens when the client is closed and so can't received notifications. the shutdown of the client application cleans up its queue with

      m_topicSubscriber = null;
      m_topicConnection.stop();

      yet as soon as the server is trying to send events it still does so on the dead clients too. server exception is show below.

      Is there a way to fix that ?

      Thank you for help.

      Sebastien.

      2004-02-06 13:44:20,164 WARN [org.jboss.mq.server.ClientConsumer] Could not send messages to a receiver.
      java.rmi.ConnectException: Connection refused to host: 143.209.145.103; nested exception is:
      java.net.ConnectException: Connection refused: connect
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
      at org.jboss.mq.il.rmi.RMIClientIL_Stub.receive(Unknown Source)
      at org.jboss.mq.server.ClientConsumer.doWork(ClientConsumer.java:278)
      at org.jboss.mq.threadpool.ThreadPool$WorkerThread.run(ThreadPool.java:230)
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:434)
      at java.net.Socket.connect(Socket.java:384)
      at java.net.Socket.(Socket.java:291)
      at java.net.Socket.(Socket.java:119)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
      ... 6 more
      2004-02-06 13:44:20,164 ERROR [org.jboss.mq.server.JMSDestinationManager] The connection to client ID:98 failed.
      2004-02-06 13:45:19,750 WARN [org.jboss.mq.server.ClientConsumer] Could not send messages to a receiver.
      java.rmi.ConnectException: Connection refused to host: 143.209.145.103; nested exception is:
      java.net.ConnectException: Connection refused: connect
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
      at org.jboss.mq.il.rmi.RMIClientIL_Stub.receive(Unknown Source)
      at org.jboss.mq.server.ClientConsumer.doWork(ClientConsumer.java:278)
      at org.jboss.mq.threadpool.ThreadPool$WorkerThread.run(ThreadPool.java:230)
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:434)
      at java.net.Socket.connect(Socket.java:384)
      at java.net.Socket.(Socket.java:291)
      at java.net.Socket.(Socket.java:119)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
      ... 6 more
      2004-02-06 13:45:19,750 ERROR [org.jboss.mq.server.JMSDestinationManager] The connection to client ID:101 failed.