Details
-
Feature Request
-
Resolution: Obsolete
-
Optional
-
None
-
None
-
None
-
Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
-
Low
-
0
-
0%
Description
If a web teir request takes too long, a warning message is logged. A JBoss customer requests implementation of this feature which is currently included in WebSphere.
This feature can be accomplished with a simple Valve. During the invoke method of the Valve, a Timer is set. If the Timer expires before the request is finished, a warning message is logged.
The Valve pseudo code might go something like this:
public void invoke(Request req, Response res)
{ set timer getNext().invoke(req, res); turn off timer }