VMware Cloud Community
njmn_hyperic
Contributor
Contributor

Unable to retrieve WebApp Response Time on WAS 6.0

Hi all,

I need to get response time from web apps on my WAS 6.0 server.

I have added the Hyperic filter in my web.xml and added the hq-filter.jar in /WEB-INF/lib/
as explained in the HQ Configuration Properties page

<!-- HYPERIC HQ RESPONSE TIME FILTER -->
<filter>
<filter-name>JMXFilter</filter-name>
<filter-class>org.hyperic.hq.product.servlet.filter.JMXFilter</filter-class>
<init-param>
<param-name>responseTimeLogDir</param-name>
<param-value>/data/WebSphere/v02/profilesWebSphere/profileStandAlone0201/logs/server1</param-value>
</init-param>
</filter>

<filter-mapping>
<filter-name>JMXFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

<!-- END HYPERIC RESPONSE TIME FILTER -->


The configuration properties settings within HQ resource are in the screenshot attached.


In the SystemOut.log, I have the following log

[5/13/08 19:38:59:922 CEST] 0000003d ServletWrappe A SRVE0242I: [LDS] [/LDSWSRouter] [LDSServices]: Initialization successful.
[5/13/08 19:39:00:009 CEST] 0000003d WebApp A SRVE0180I: [LDSWSRouter] [/LDSWSRouter] [Servlet.LOG]: Opening ResponseTime log: /data/WebSphere/v02/profilesWebSphere/profileStandAlone0201/logs/server1//LDSWSRouter_HQResponseTime.log

[...]

[5/13/08 19:40:47:970 CEST] 0000003d PmiRmArmWrapp I PMRM0003I: parent:ver=1,ip=10.146.4.85,time=1210700266157,pid=134,reqid=8,event=1 - current:ver=1,ip=10.146.4.85,time=1210700266157,pid=134,reqid=9,event=1 type=Web Services Provider detail=wsprovider:LDSServices.getDividend?transport=http&namespace=http://ejb.ws.lds.calyon&input=getDividendRequest elapsed=79
[5/13/08 19:40:47:980 CEST] 0000003d PmiRmArmWrapp I PMRM0003I: parent:ver=1,ip=10.146.4.85,time=1210700266157,pid=134,reqid=8,event=1 - current:ver=1,ip=10.146.4.85,time=1210700266157,pid=134,reqid=8,event=1 type=URI detail=/LDSWSRouter/services/LDSServices elapsed=99


Result
=> the file LDSWSRouter_HQResponseTime.log is empty after the call
=> No metric available in HQ see screenshot attached

Could you advise please?

Thanks in advance
Nicolas.

Message was edited by: njmn
0 Kudos
1 Reply
njmn_hyperic
Contributor
Contributor

Hi,

the problem was on the WebApp Configuration Properties and web.xml
see screenshot and web.xml attached.

Nicolas
0 Kudos