Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleCurrent status

REST JMS Logging monitoring feature is under beta-testing. Be aware, it can be changed later.


To get JMS Log info from particular mc2-worker instance you have to execute GET request by:

http://host:port/eagle/v2/jms/log

or you can get all logs from all active mc2-workers in cluster by:

http://host:port/eagle/v2/jms/logs

We support JSON format of log-info.

...

Calculating MC2 Endpoints Port Numbers


Example JMS Logs from worker:

Code Block
languagejs
themeRDark
titleREST JMS 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'"
    } ]
  }
}



Example JMS Logs from All mc2-workers:

Code Block
languagejs
themeRDark
titleAggregated REST JMS Logs
[
	{
		"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'"
					}
				]
			}
		}
	}
]