0 Replies Latest reply on Dec 23, 2002 10:40 AM by Uday Kamath

    Connection Exception ?hiram or adrian

    Uday Kamath Newbie

      Hi
      With Jboss3.0.4 , RMI as the transport layer and not UIL or OIL. when is start JMS subscriptions etc, i sometimes get this exception of Connection refusal ?
      I have only seen people reporting this problem but no solution..?
      15:50:05,221 WARN [SpyMessageConsumer] Message consumer closing due to error in
      listening thread.
      org.jboss.mq.SpyJMSException: Cannot create a ConnectionReceiver; - nested throw
      able: (java.rmi.ConnectException: Connection refused to host: 206.233.40.190; ne
      sted exception is:
      java.net.ConnectException: Connection refused: connect)
      at org.jboss.mq.Connection.receive(Connection.java:1058)
      at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:461)
      at java.lang.Thread.run(Unknown Source)
      + nested throwable:
      java.rmi.ConnectException: Connection refused to host: 206.233.40.190; nested ex
      ception is:
      java.net.ConnectException: Connection refused: connect
      java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
      ource)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
      ource)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.mq.il.rmi.RMIServerIL_Stub.receive(Unknown Source)
      at org.jboss.mq.Connection.receive(Connection.java:1046)
      at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:461)
      at java.lang.Thread.run(Unknown Source)