Skip to main content

Could not refresh JMS Connection for destination

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2014-03-14


We are running the following on Linux 64 bit host(x86_64).

Open Message Queue 4.5.2
Version: 4.5.2 (Build 2-d)
Compile: Thu Dec 8 17:30:48 PST 2011

Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
Java Runtime: 1.6.0_27 Sun Microsystems Inc. /usr/java/jdk1.6.0_27/jre

[29/Jan/2014:16:25:00 PST] Linux 2.6.32-279.19.1.el6.x86_64 amd64 (24 cpu)
[29/Jan/2014:16:25:00 PST] Java Heap Size: max=2009792k, current=2009792k

With run time arguments (two instances in the cluster) if that helps -

-Dimq.shared.connectionMonitor_limit=20 -Dimq.autocreate.destination.limitBehavior=REMOVE_OLDEST -Dimq.autocreate.destination.maxNumMsgs=20000 -Dimq.autocreate.destination.maxBytesPerMsg=-1 -Dimq.autocreate.destination.maxNumProducers=-1 -Dimq.autocreate.queue.consumerFlowLimit=10

And we are continuously seeing these connection errors on the client apps

Could not refresh JMS Connection for destination 'Sun Java System MQ Destination
getName(): CLEN
Class: com.sun.messaging.Topic
getVERSION(): 3.0
isReadonly(): false
getProperties(): {imqDestinationName=CLEN, imqDestinationDescription=A Description for the Destination Object}' - retrying in 5000 ms. Cause: [C4000]: Packet acknowledge failed. user=guest, broker=xyzbroker

and seeing these errors in the broker logs.
[14/Mar/2014:10:51:53 PDT] ERROR [B3100]: Unexpected Broker Internal Error : [Unable to allocate connectionIMQConn[DESTROYED,???@,null] on service jms, closing]: [B3100]: Unexpected Broker Internal Error : [ No threads allocated for write selector thread on service jms closing connection IMQConn[CONNECTED,???,null]]

Any insights are appreciated.

Thanks, Basu