Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3157

Optional Valve to detect long-running web requests.

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Optional
    • None
    • None
    • Web (Tomcat) service
    • None
    • Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
    • Low
    • 0
    • 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 }

      Attachments

        Activity

          People

            Unassigned Unassigned
            ssilvert@redhat.com Stan Silvert
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: