Properties in the Resource Adapter(IBM MQ) are removed when updating the connection pool with Management Console in JBoss EAP 7.4

Solution Unverified - Updated -

Issue

Properties in the Resource Adapter(IBM MQ) are removed when updating the connection pool with Management Console like below:

Access to the below. And update the Min/Max Pool Size. After that the attributes(Managment Console > .. > wmq.jmsra.rar > View > Connection Definitions > <POOL> > Attributes) are removed.

Managment Console > Configuration > Subsystem > Resouce Adapters > wmq.jmsra.rar > View > Connection Definitions > <POOL> > Min/Max Pool Size

Before updating pool of Resource Adapter.
standalone-full.xml:

<resource-adapters>
    <resource-adapter id="wmq.jmsra.rar">
        <archive>
            wmq.jmsra.rar
        </archive>
        <transaction-support>XATransaction</transaction-support>
        <connection-definitions>
            <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:jboss/{CONECTION_FACTORY}" enabled="true" pool-name="{POOL NAME}">
                <config-property name="hostName">{IBM MQ HOSTNAME}</config-property>
                <config-property name="port"><IBM MQ PORT></config-property>
                <config-property name="channel">{CHANNEL NAME}</config-property>
                <config-property name="transportType">CLIENT</config-property>
                <config-property name="queueManager">{QUEUE MANAGER NAME}</config-property>
            </connection-definition>
        </connection-definitions>
        <admin-objects>
            <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:jboss/{XXXX}">
                <config-property name="baseQueueName">{QUEUE NAME}</config-property>
                <config-property name="baseQueueManagerName">{QUEUE MANAGER NAME}</config-property>
            </admin-object>
        </admin-objects>
    </resource-adapter>
</resource-adapters>

After updating Min Pool Size of Resource Adapter.
standalone-full.xml:

<resource-adapters>
    <resource-adapter id="wmq.jmsra.rar">
        <archive>
            wmq.jmsra.rar
        </archive>
        <transaction-support>XATransaction</transaction-support>
        <connection-definitions>
            <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:jboss/{CONECTION_FACTORY}" enabled="true" pool-name="{POOL NAME}">
                <xa-pool>  <<== All config properties were deleted.
                    <min-pool-size>1</min-pool-size>
                </xa-pool>
            </connection-definition>
        </connection-definitions>
        <admin-objects>
            <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:jboss/{XXXX}">
                <config-property name="baseQueueName">{QUEUE NAME}</config-property>
                <config-property name="baseQueueManagerName">{QUEUE MANAGER NAME}</config-property>
            </admin-object>
        </admin-objects>
    </resource-adapter>
</resource-adapters>

Environment

Red Hat JBoss Enterprise Application Platform (EAP)

  • 7.3.x
  • 7.4.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