Configuring tomcat to checkmk monitoring

Thanks for the reply , let me explain you here
as per mentioned in document The agent for Linux in detail
i have installed checkmk agent check-mk-agent-1.6.0p20-1.noarch.rpm on my centos7 instance.
service xinetd with config /etc/xinetd.d/check-mk
{
type = UNLISTED
port = 6556
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/check_mk_agent
only_from = 127.0.0.1 10.0.20.1 10.0.20.2 172.31.25.62
log_on_success =
disable = no
}

mk_jolokia.py i download and put under path /usr/lib/check_mk_agent/plugins/
Below is my jolokia config, for my tomcat which are running on ajp port 1117

cat /etc/check_mk/jolokia.cfg

instances = [
{
“port” : 1117,
“instance” : “tomcat90LB1”,
},
{
“port” : 2228,
“instance” : “tomcat90LB2”,
}
]

#-> check_mk_agent | less
<<<check_mk>>>
Version: 1.6.0p20
AgentOS: linux
Hostname: ip-172-31-40-234.us-west-2.compute.internal
AgentDirectory: /etc/check_mk
DataDirectory: /var/lib/check_mk_agent
SpoolDirectory: /var/lib/check_mk_agent/spool
PluginsDirectory: /usr/lib/check_mk_agent/plugins
LocalDirectory: /usr/lib/check_mk_agent/local
<<>>
<<>>
<<<jolokia_info:sep(0)>>>
tomcat90LB1^@ERROR^@(‘Connection aborted.’, BadStatusLine("’’",))

Let me know if you need any further information