Thaqnk you for the reply. We did tried Java Application Server monitoring via SNMP template. but it didn't work. But finally we got the solution for our issue.
We have a firewall between the box where apache is present and solarwind. We had opened the port of JMX on the firewall so that solarwind and tomcat can communicate over the jmx port that we have specified in -Dcom.sun.management.jmxremote.port=8686"
But Solarwind uses some random ports to ping apache and communicate hence it was failing. Now we have opened all higher range of ports on firewall and everything is working as expected.
Hope this helps someone else if they have same issue.
Regards,
Kirandeep