Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25662

[IBM MQ 9] JmqiResource: bundle 'com.ibm.mq.jmqi.internal.messages' not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 8.0.0.GA-CR1
    • None

      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
      

      Problem is that lifecycly of deploying/undeploying wmq.jakarta.jmsra.rar and running services is not orchestrated to avoid closing the rar before stopping its resources.

              dsoni@redhat.com Dhruv Soni
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: