JmqiResource: bundle 'com.ibm.mq.jmqi.internal.messages' not found when EAP 8 shutting down when using IBM MQ RAR

Solution Verified - Updated -

Issue

  • During graceful shutdown of EAP server with deployed and configured IBM MQ 9 resource adapter, following exception can be thrown:
2023-08-30 10:26:51,026 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...]) JmqiResource: bundle 'com.ibm.mq.jmqi.internal.messages' not found
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...]) java.util.MissingResourceException: Can't find bundle for base name com.ibm.mq.jmqi.internal.messages, locale en_US
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.mq.jmqi.internal.JmqiResource.<clinit>(JmqiResource.java:70)
2023-08-30 10:26:51,027 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.mq.jmqi.JmqiException.initializeClass(JmqiException.java:281)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.mq.jmqi.JmqiException.<init>(JmqiException.java:263)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection.receive(RemoteTCPConnection.java:2047)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.mq.jmqi.remote.impl.RemoteRcvThread.receiveBuffer(RemoteRcvThread.java:833)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.mq.jmqi.remote.impl.RemoteRcvThread.receiveOneTSH(RemoteRcvThread.java:798)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.mq.jmqi.remote.impl.RemoteRcvThread.run(RemoteRcvThread.java:161)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.msg.client.commonservices.workqueue.WorkQueueItem.runTask(WorkQueueItem.java:319)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.msg.client.commonservices.workqueue.SimpleWorkQueueItem.runItem(SimpleWorkQueueItem.java:99)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.msg.client.commonservices.workqueue.WorkQueueItem.run(WorkQueueItem.java:343)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.msg.client.commonservices.workqueue.WorkQueueManager.runWorkQueueItem(WorkQueueManager.java:312)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at deployment.wmq.jakarta.jmsra.rar//com.ibm.msg.client.commonservices.j2se.workqueue.WorkQueueManagerImplementation$ThreadPoolWorker.run(WorkQueueManagerImplementation.java:1240)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...]) Caused by: java.lang.IllegalStateException: zip file closed
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:913)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.zip.ZipFile.getInputStream(ZipFile.java:379)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.jar.JarFile.getInputStream(JarFile.java:849)
2023-08-30 10:26:51,028 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at org.jboss.vfs@3.3.0.Final//org.jboss.vfs.spi.JavaZipFileSystem.openInputStream(JavaZipFileSystem.java:182)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at org.jboss.vfs@3.3.0.Final//org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:318)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at org.jboss.vfs@3.3.0.Final//org.jboss.vfs.protocol.VirtualFileURLConnection.getInputStream(VirtualFileURLConnection.java:67)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle$Control$1.run(ResourceBundle.java:3227)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle$Control$1.run(ResourceBundle.java:3216)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.security.AccessController.doPrivileged(Native Method)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:3215)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.loadBundle(ResourceBundle.java:1994)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1776)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1728)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1728)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1662)
2023-08-30 10:26:51,029 ERROR [stderr] (RcvThread: com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection@...])    ... 15 more

Environment

  • Red Hat Enterprise Application (EAP) 8
  • IBM MQ Resource adapter

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content