Although the CLIENT mode is setup, the BINDING mode is being used in JBoss EAP 7 configuration

Solution In Progress - Updated -

Issue

According to following error, the BINDING mode is being used although the CLIENT mode is setup:

~~
2021-03-19 17:03:04,478 ERROR [stderr] (default-threads - 1) Caused by: java.lang.UnsatisfiedLinkError: no mqjbnd in java.library.path
2021-03-19 17:03:04,478 ERROR [stderr] (default-threads - 1) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
2021-03-19 17:03:04,478 ERROR [stderr] (default-threads - 1) at java.lang.Runtime.loadLibrary0(Runtime.java:871)
2021-03-19 17:03:04,478 ERROR [stderr] (default-threads - 1) at java.lang.System.loadLibrary(System.java:1124)
2021-03-19 17:03:04,478 ERROR [stderr] (default-threads - 1) at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1125)
2021-03-19 17:03:04,478 ERROR [stderr] (default-threads - 1) ... 103 more


* standalone-full.xml

...

...

localhost
SYSTEM.DEF.SVRCONN
SVDVVHQM
1415
CLIENT
xxxx
xxxxx 1
10

myappname

...

* code MDB

@MessageDriven( name="MessageReceiver5Bean",
activationConfig =
{
@ActivationConfigProperty(propertyName = "maxPoolDepth", propertyValue = "${MQ.POOL.DEPTH}"),
@ActivationConfigProperty(propertyName = "maxMessages", propertyValue = "${MQ.MAX.MESSAGES}"),
@ActivationConfigProperty(propertyName = "destinationType",propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "${MQ.JNDI.USE}"),
@ActivationConfigProperty(propertyName = "hostName", propertyValue = "${MQ.HOST.NAME}"),
@ActivationConfigProperty(propertyName = "port", propertyValue = "${MQ.PORT}"),
@ActivationConfigProperty(propertyName = "channel", propertyValue = "SYSTEM.DEF.SVRCONN"),
@ActivationConfigProperty(propertyName = "queueManager", propertyValue = "${MQ.QUEUE.MANAGER}"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "SVDVVH.INPUT.241.QUEUE"),
@ActivationConfigProperty(propertyName = "transportType", propertyValue = "${MQ.CLIENT}"),
@ActivationConfigProperty(propertyName = "username", propertyValue = "${MQ.USERNAME}"),
@ActivationConfigProperty(propertyName = "password", propertyValue = "${MQ.PASSWORD}")
})
@ResourceAdapter(value = "wmq.jmsra.rar")
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
~~~

Why it's trying to use "bindings" mode. Where it should also be configured?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.3.0
  • IBM MQ

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