Resource Adapter fails to deploy with IJ020060: Unable to inject: ... property: hostname value ... in JBoss EAP 6.4

Solution Unverified - Updated -

Issue

  • IBM MQ Resource Adapter fails to deploy in JBoss EAP 6.4 with this exception:
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020060: Unable to inject: com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl property: hostname value: 127.0.0.1
  at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1971) [ironjacamar-deployers-common-1.0.31.Final-redhat-1.jar:1.0.31.Final-redhat-1]
  at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer.doDeploy(ResourceAdapterXmlDeploymentService.java:185) [jboss-as-connector-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
  at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:106) [jboss-as-connector-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
...

Our resource adapter has this definition:

                <resource-adapter id="wmq.jmsra.rar">
                    ...
                    <connection-definitions>
                        <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:jboss/MQCF" pool-name="MQCF">
                            <config-property name="hostname">
                                127.0.0.1
                            </config-property>
                            ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.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