[ 
https://issues.apache.org/jira/browse/SANDBOX-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Susanne Gschwendner updated SANDBOX-237:
----------------------------------------

    Attachment: commons-monitoring-1.0-SNAPSHOT-tests.jar
                web.xml

Thanks for your comment. I attached the web.xml and a test-jar for you. 

> [monitoring] Problem with getting a web report for Test Servlet
> ---------------------------------------------------------------
>
>                 Key: SANDBOX-237
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-237
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Monitoring
>            Reporter: Susanne Gschwendner
>         Attachments: commons-monitoring-1.0-SNAPSHOT-tests.jar, 
> TestMonitoringUI.java, web.xml
>
>
> 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:
> {code}
>  <servlet>
>       <servlet-name>testMonitoringUI</servlet-name>
>       
> <servlet-class>org.apache.commons.monitoring.TestMonitoringUI</servlet-class>
>     </servlet>
> <servlet-mapping>
>       <servlet-name>testMonitoringUI</servlet-name>
>       <url-pattern>/testMonitoringUI</url-pattern>
>     </servlet-mapping>
> {code}
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to