Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-237

[monitoring] Problem with getting a web report for Test Servlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Monitoring
    • None

    Description

      Attached is a little test servlet written to get to see a web report as an outcome. A user can update a timer via the browser with this servlet.

      • It is enabled in the web.xml like:
         <servlet>
            	<servlet-name>testMonitoringUI</servlet-name>
            	<servlet-class&gt;org.apache.commons.monitoring.TestMonitoringUI</servlet-class&gt;
            </servlet>
        
        <servlet-mapping>
            	<servlet-name>testMonitoringUI</servlet-name>
            	<url-pattern>/testMonitoringUI</url-pattern>
            </servlet-mapping>
        

      User interaction with the test servlet does not lead me to a web report (but a 404 when accessing /monitors) in this way. It would be intersting to see why.

      Attachments

        1. commons-monitoring-1.0-SNAPSHOT-tests.jar
          29 kB
          Susanne Gschwendner
        2. TestMonitoringUI.java
          4 kB
          Susanne Gschwendner
        3. web.xml
          2 kB
          Susanne Gschwendner

        Activity

          People

            Unassigned Unassigned
            susanne gschwendner Susanne Gschwendner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: