IBM MQ Resource Adapter (file wmq.jmsra.rar) successfully deployed, but MQ connection factories are not created

Solution Verified - Updated -

Issue

  • The IBM MQ Resource Adapter is deployed successfully, as we can see in the logs
2023-07-21 12:08:05,882 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "wmq.jmsra.rar" (runtime-name : "wmq.jmsra.rar")

but we are getting the following errors from MQ Connection Factories' clients

2023-07-21 12:08:05,981 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 6) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "client.war")]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.naming.context.java.jms.MyMQConnectionFactory"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [        "jboss.naming.context.java.module.client.client.env.MyMQConnectionFactory is missing [jboss.naming.context.java.jms.MyMQConnectionFactory]"
    ]
}
2023-07-21 12:08:05,981 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 6) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "client.war")]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.naming.context.java.jms.MyMQConnectionFactory"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [     "jboss.naming.context.java.module.client.client.env.MyMQConnectionFactory is missing [jboss.naming.context.java.jms.MyMQConnectionFactory]"
    ]
}
2023-07-21 12:08:05,981 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 6) WFLYSRV0021: Deploy of deployment "client.war" was rolled back with the following failure message:
{
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.naming.context.java.jms.MyMQConnectionFactory"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.naming.context.java.module.client.client.env.MyMQConnectionFactory is missing [jboss.naming.context.java.jms.MyMQConnectionFactory]"

Environment

  • EAP 7.x
  • Domain mode
  • IBM MQ Resource adapter file, version 9.2.x

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