This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
See this idea on ideas.ibm.com
we are facing an issue while using the Java MQ driver in Version 9.4.0.5 (also for 9.4.0.0) in Wildfly 32.0.1.Final as documented here (https://docs.redhat.com/en/documentation/red_hat_jboss_enterprise_application_platform/7.4/html-single/configuring_messaging/index?extIdCarryOver=true&sc_cid=701f2000001OH7TAAW#deploy_the_ibm_mq_resource_adapter).
When trying to connect to the MQ server, we see the following stacktrace in the log file (for the complete stacktrace please refer to the attached log file):
Caused by: java.lang.NullPointerException: Cannot invoke "java.net.URL.openStream()" because "resource" is null at deployment.wmq.jakarta.jmsra9.4.0.5.rar//com.ibm.mq.jmqi.CipherSpecBean.getCiphers(CipherSpecBean.java:166)at deployment.wmq.jakarta.jmsra-9.4.0.5.rar//com.ibm.mq.jmqi.CipherSuiteUtils.<clinit>(CipherSuiteUtils.java:157)
... 154 more
As we are not the alone with this issue (see https://stackoverflow.com/questions/77241592/getting-a-nullpointerexception-error-when-starting-application-using-resource-ad), we assume that the mentioned MQ driver uses, when deployed as rar file inside the deployments directory of the Wildfly application server, not the correct ClassLoader.
Our assumption is underlined by the fact that when we deploy a simple jar file which only contains the ciphermappings.json file from the com.ibm.mq.jmqi.jar as a Wildfly module inside the modules folder, the file is found and the issue disappears. This strongly indicates that using a different class loader inside the MQ driver will allow to deploy the MQ driver rar inside Wildfly’s deployments folder as described in Red Hat’s documentation (link above).
Many thanks in advance for addressing this issue in the near future.
Please find attached the Wildfly log, the Wildfly configuration file as well as the MQ trace file.
Idea priority | Low |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
This was a defect and has been fixed under https://www.ibm.com/support/pages/apar/IT46759
TS017484195
by replacing the two jar files “com.ibm.jakarta.mqjms.jar” and “com.ibm.mq.jmqi.jar” inside the original Resource Adapter file “wmq.jakarta.jmsra-9.4.0.5.rar”, the Wildfly container has successfully connected to IBM MQ.