Skip to main content

Could not refresh JMS Connection for destination

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
basukattimani18
Offline
Joined: 2014-03-14

Hi,

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

================================================================================
Open Message Queue 4.5.2
Oracle
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 XXXXXXXXXXX.com (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,???@17.176.64.141:0,null] on service jms, closing]:
java.io.IOException: [B3100]: Unexpected Broker Internal Error : [ No threads allocated for write selector thread on service jms closing connection IMQConn[CONNECTED,???@xx.xxx.xx.xx:63446,null]]
at com.sun.messaging.jmq.jmsserver.service.imq.group.GroupService.addConnection(GroupService.java:152)
at com.sun.messaging.jmq.jmsserver.service.imq.group.GroupService.acceptConnection(GroupService.java:104)
at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPService.run(IMQIPService.java:678)
at java.lang.Thread.run(Thread.java:662)

Any insights are appreciated.

Thanks, Basu