Ensuring that servers use the latest available IBM MQ resource adapter maintenance level
To ensure that the IBM® MQ resource adapter is automatically updated to the latest available maintenance level when you apply WebSphere® Application Server fix packs, you can configure all servers in your environment to use the latest version of the resource adapter contained in the WebSphere Application Server fix pack that you have applied to the installation of each node.
Before you begin
Updates to the IBM MQ resource adapter that is installed with WebSphere Application Server are included in WebSphere Application Server Fix Packs. You must only update the IBM MQ resource adapter using the "Update resource adapter facility if you require a specific version of the resource adapter, instead of the most recent version. To install a specific version of the resource adapter, see Installing a specific maintenance level of the IBM MQ resource adapter.
- Jython: Note: You must press Return twice after entering this command in order to run it.
wmqInfoMBeansUnsplit = AdminControl.queryNames("WebSphere:type=WMQInfo,*") wmqInfoMBeansSplit = AdminUtilities.convertToList(wmqInfoMBeansUnsplit) for wmqInfoMBean in wmqInfoMBeansSplit: print wmqInfoMBean; print AdminControl.invoke(wmqInfoMBean, 'getInfo', '')
- Jacl:
set wmqInfoMBeans [$AdminControl queryNames WebSphere:type=WMQInfo,*] foreach wmqInfoMBean $wmqInfoMBeans { puts $wmqInfoMBean; puts [$AdminControl invoke $wmqInfoMBean getInfo [] []] }
About this task
- The JVM logs of any application server in your environment contain
the following entry:
WMSG1625E: It was not possible to detect the WebSphere MQ messaging provider code at the specified path <null>
- One or more nodes has previously been manually updated to use a specific maintenance level of the IBM MQ resource adapter that is now superseded by the latest version of the resource adapter contained in the current WebSphere Application Server maintenance level.
When you have performed the following steps for all cells and single server installations in your environment, your servers will automatically receive maintenance to the IBM MQ resource adapter when a new WebSphere Application Server fix pack is applied.