Closing a temporary queue in a client results in this exception. Any suggestions/pointers ?? I am trying to replace an 2.4.3 SwiftMQ with JBossMQ in the system. The client code works with SwiftMQ but results in this with JBossMQ that is bundled with JBoss3.0.3
ERROR [main] (Logger.java:194) - Cannot connect to the ConnectionReceiver/Server
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
at java.net.Socket.(Socket.java:285)
at java.net.Socket.(Socket.java:139)
at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:175)
at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
at org.jboss.mq.il.oil.OILClientIL.deleteTemporaryDestination(OILClientIL.java:97)
at org.jboss.mq.SpyTemporaryQueue.delete(SpyTemporaryQueue.java:44)
at com.opticalsolutions.nodecomm.util.JmsQueueRequestor.close(JmsQueueRequestor.java:68)
at com.opticalsolutions.nodecomm.pinger.Pinger.pingIp(Pinger.java:300)
at com.opticalsolutions.nodecomm.pinger.Pinger.ping(Pinger.java:190)
at com.opticalsolutions.nodecomm.pinger.Pinger.main(Pinger.java:111)