In May release we implemented The REST JMS Logging feature enables you to check all errors & and warnings being occurred that occur during JMS configuration.
...
...
title | Current status |
---|
...
REST JMS Logging monitoring feature is under beta-testing. Be aware, it can be changed later.
To get JMS Log info from To retrieve JMS Log information from a particular mc2-worker instance, you have to must execute a GET request by either of these two methods:
- Execute for a particular MC2-worker instance through http://host:port/eagle/v2/jms/
...
- log
- Retrieve all logs from all active
...
- MC2-workers in cluster by
...
- executing for any MC2-lb instance through http://host:port/eagle/v2/jms/logs
...
Info |
---|
The JSON format of log |
...
information is supported. |
See how to get mc2 port:
See Calculate MC2 Endpoints Port Numbers for information about how to retrieve the MC2 port number.
Example of a JMS Logs Log from a MC2-worker:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "JMS" : { "CONFIG" : [ { "LEVEL" : "ERROR", "MSG" : "Exception occurred while creation of [wmq-my.jndi.wmq.connection] bean instance: com.ibm.mq.jms.MQConnectionFactory" }, { "LEVEL" : "ERROR", "MSG" : "Exception occurred while creation of [wmqssl-wmq.ssl.connection] bean instance: com.ibm.mq.jms.MQConnectionFactory" } ], "STREAMS" : [ { "LEVEL" : "WARN", "MSG" : "Could not find definition for connection 'myactivemq2.connection' of 'mc2_jms_out' stream. Check the connection configuration files in tpe/dynamic/mc2/eaglejms/connections" }, { "LEVEL" : "WARN", "MSG" : "Passwords for KeyStore & TrustStore were NOT provided! SSL Connection name: 'eglwwvm22.amq.ssl.connection'" } ] } } |
Example of a JMS Logs Log from All mc2MC2-workers:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[ { "HOST": "inno-jenever01.eagleinvsys.com", "PID": "17262", "LOG": { "JMS": { "CONFIG": [ { "LEVEL": "ERROR", "MSG": "Exception occurred while creation of [wmq-my.jndi.wmq.connection] bean instance: com.ibm.mq.jms.MQConnectionFactory" }, { "LEVEL": "ERROR", "MSG": "Exception occurred while creation of [wmqssl-wmq.ssl.connection] bean instance: com.ibm.mq.jms.MQConnectionFactory" } ], "STREAMS": [ { "LEVEL": "WARN", "MSG": "Could not find definition for connection 'myactivemq2.connection' of 'mc2_jms_out' stream. Check the connection configuration files in tpe/dynamic/mc2/eaglejms/connections" }, { "LEVEL": "WARN", "MSG": "Passwords for KeyStore & TrustStore were NOT provided! SSL Connection name: 'eglwwvm22.amq.ssl.connection'" } ], "SINGLE_CONSUMER": [ { "LEVEL": "INFO", "MSG": "Started Sequential-Reading JMS-Consumer Stream [!vp_test_jms_consumer_2] on this mc2-worker instance at [2019-Jun-06 01:50:59]" } ] } } }, { "HOST": "inno-jenever01.eagleinvsys.com", "PID": "17292", "LOG": { "JMS": { "CONFIG": [ { "LEVEL": "ERROR", "MSG": "Exception occurred while creation of [wmq-my.jndi.wmq.connection] bean instance: com.ibm.mq.jms.MQConnectionFactory" }, { "LEVEL": "ERROR", "MSG": "Exception occurred while creation of [wmqssl-wmq.ssl.connection] bean instance: com.ibm.mq.jms.MQConnectionFactory" } ], "STREAMS": [ { "LEVEL": "WARN", "MSG": "Could not find definition for connection 'myactivemq2.connection' of 'mc2_jms_out' stream. Check the connection configuration files in tpe/dynamic/mc2/eaglejms/connections" }, { "LEVEL": "WARN", "MSG": "Passwords for KeyStore & TrustStore were NOT provided! SSL Connection name: 'eglwwvm22.amq.ssl.connection'" } ] } } } ] |
...