[jira] Created: (SANDBOX-237) [monitoring] Problem with getting a web report for Test Servlet

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SANDBOX-237) [monitoring] Problem with getting a web report for Test Servlet

Lars Bruun-Hansen (Jira)
[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


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 | Threaded
Open this post in threaded view
|

[jira] Updated: (SANDBOX-237) [monitoring] Problem with getting a web report for Test Servlet

Lars Bruun-Hansen (Jira)

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

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

    Attachment: TestMonitoringUI.java

> [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: TestMonitoringUI.java
>
>
> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (SANDBOX-237) [monitoring] Problem with getting a web report for Test Servlet

Lars Bruun-Hansen (Jira)
In reply to this post by Lars Bruun-Hansen (Jira)

    [ https://issues.apache.org/jira/browse/SANDBOX-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594793#action_12594793 ]

nicolas de loof commented on SANDBOX-237:
-----------------------------------------

Can you please attach your web.xml, or maybe the full WAR ?

> [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: TestMonitoringUI.java
>
>
> 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 | Threaded
Open this post in threaded view
|

[jira] Updated: (SANDBOX-237) [monitoring] Problem with getting a web report for Test Servlet

Lars Bruun-Hansen (Jira)
In reply to this post by Lars Bruun-Hansen (Jira)

     [ 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (SANDBOX-237) [monitoring] Problem with getting a web report for Test Servlet

Lars Bruun-Hansen (Jira)
In reply to this post by Lars Bruun-Hansen (Jira)

    [ https://issues.apache.org/jira/browse/SANDBOX-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598278#action_12598278 ]

nicolas de loof commented on SANDBOX-237:
-----------------------------------------

Tested locally and works for me.

What URL are you using to get the report ? Maybe you missed the webUI servlet is mapped to "/monitoring/*", so if you use the default "monitoring" context path this will be : http://localhost:8080/monitoring/monitoring/monitors

> [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 | Threaded
Open this post in threaded view
|

[jira] Commented: (SANDBOX-237) [monitoring] Problem with getting a web report for Test Servlet

Lars Bruun-Hansen (Jira)
In reply to this post by Lars Bruun-Hansen (Jira)

    [ https://issues.apache.org/jira/browse/SANDBOX-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600256#action_12600256 ]

nicolas de loof commented on SANDBOX-237:
-----------------------------------------

Can we close this issue ?


> [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.