0 Replies Latest reply on Oct 24, 2002 9:23 AM by demarco

    ConnectException

      Hallo together,

      I'm trying a short MDB-Example.
      I'm sending some infos from a client to the MDB and then
      sending it back to the client.

      The example works fine,
      but at the end of the execution, sometimes (but not ever) the following error occurs (look Output and Trace).
      The client also gets its messages.

      Where does the error come from?
      Is there a possiblity to stop it?

      Best Regards
      Marco


      14:20:03,390 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,390 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,406 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,406 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,421 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,421 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,453 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,453 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,453 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,453 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,468 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,468 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,562 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,562 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,578 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,578 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,578 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,578 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:20:03,593 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:20:03,593 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,421 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,437 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,437 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,437 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,453 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,453 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,453 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,453 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,453 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,453 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,453 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,468 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,468 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,468 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,468 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,468 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,468 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,468 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:02,484 INFO [STDOUT] TextMDB.onMessage, this=5518176
      14:30:02,484 INFO [STDOUT] TextMDB.sendReply, this=5518176, dest=QUEUE.A
      14:30:03,359 WARN [ClientConsumer:ID:42] Could not send messages to a receiver.
      java.rmi.ConnectException: Connection refused to host: 192.168.0.27; 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:277)
      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:295)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
      at java.net.Socket.connect(Socket.java:425)
      at java.net.Socket.connect(Socket.java:375)
      at java.net.Socket.(Socket.java:290)
      at java.net.Socket.(Socket.java:118)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:2
      2)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:1
      22)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
      ... 6 more
      14:30:03,359 ERROR [JMSDestinationManager] The connection to client ID:42 failed.