You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kevan Miller (JIRA)" <de...@geronimo.apache.org> on 2006/01/11 00:21:19 UTC

[jira] Created: (GERONIMO-1448) debug-tool does not work on Tomcat

debug-tool does not work on Tomcat
----------------------------------

         Key: GERONIMO-1448
         URL: http://issues.apache.org/jira/browse/GERONIMO-1448
     Project: Geronimo
        Type: Bug
  Components: Tomcat  
    Versions: 1.0    
 Environment: Geronimo-1.0
    Reporter: Kevan Miller
     Fix For: 1.0.1


The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:

HTTP Status 404 - /index.vm

type Status report

message /index.vm

description The requested resource (/index.vm) is not available.

Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1448) debug-tool does not work on Tomcat

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1448?page=all ]

Donald Woods updated GERONIMO-1448:
-----------------------------------

    Geronimo Info: [Patch Available]
      Fix Version: 1.1
        Assign To: Donald Woods

> debug-tool does not work on Tomcat
> ----------------------------------
>
>          Key: GERONIMO-1448
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1448
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0
>  Environment: Geronimo-1.0
>     Reporter: Kevan Miller
>     Assignee: Donald Woods
>      Fix For: 1.0.1, 1.1
>  Attachments: Geronimo-1448.patch
>
> The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:
> HTTP Status 404 - /index.vm
> type Status report
> message /index.vm
> description The requested resource (/index.vm) is not available.
> Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-1448) debug-tool does not work on Tomcat

Posted by "Kevan Miller (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1448?page=all ]

Kevan Miller reassigned GERONIMO-1448:
--------------------------------------

    Assign To: Kevan Miller  (was: Donald Woods)

> debug-tool does not work on Tomcat
> ----------------------------------
>
>          Key: GERONIMO-1448
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1448
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0
>  Environment: Geronimo-1.0
>     Reporter: Kevan Miller
>     Assignee: Kevan Miller
>      Fix For: 1.0.1, 1.1
>  Attachments: Geronimo-1448.patch
>
> The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:
> HTTP Status 404 - /index.vm
> type Status report
> message /index.vm
> description The requested resource (/index.vm) is not available.
> Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1448) debug-tool does not work on Tomcat

Posted by "Kevan Miller (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1448?page=comments#action_12363171 ] 

Kevan Miller commented on GERONIMO-1448:
----------------------------------------

Hmmm. I was a bit curious as to why this fix would work. I just tested on trunk and it's not working for me. After starting the debug tool app, debug tool still serves up bad links. I also restarted the server for good measure...

I've noticed that if you load the following url, the page works fine:

   http://localhost:8080/debug-tool/

However, if you load the following url (the resource listed during server startup), the MBean links are missing the context-root...

   http://localhost:8080/debug-tool

Any explanations as to why the difference? BTW, I'm assuming that we'll soon be replacing debug tool on trunk... We should get this resolved on 1.0.1, however...


> debug-tool does not work on Tomcat
> ----------------------------------
>
>          Key: GERONIMO-1448
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1448
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0
>  Environment: Geronimo-1.0
>     Reporter: Kevan Miller
>     Assignee: Donald Woods
>      Fix For: 1.0.1, 1.1
>  Attachments: Geronimo-1448.patch
>
> The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:
> HTTP Status 404 - /index.vm
> type Status report
> message /index.vm
> description The requested resource (/index.vm) is not available.
> Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1448) debug-tool does not work on Tomcat

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1448?page=comments#action_12362820 ] 

David Jencks commented on GERONIMO-1448:
----------------------------------------

Applied to trunk, although since geronimo-web.xml is not used I removed it.  (it has been replaced by the plans in config/jmxdebug-*)

Deleting       applications/jmxdebug/src/webapp/WEB-INF/geronimo-web.xml
Sending        applications/jmxdebug/src/webapp/WEB-INF/web.xml
Transmitting file data .
Committed revision 369383.   

> debug-tool does not work on Tomcat
> ----------------------------------
>
>          Key: GERONIMO-1448
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1448
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0
>  Environment: Geronimo-1.0
>     Reporter: Kevan Miller
>     Assignee: Donald Woods
>      Fix For: 1.0.1, 1.1
>  Attachments: Geronimo-1448.patch
>
> The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:
> HTTP Status 404 - /index.vm
> type Status report
> message /index.vm
> description The requested resource (/index.vm) is not available.
> Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1448) debug-tool does not work on Tomcat

Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1448?page=comments#action_12362395 ] 

Jeff Genender commented on GERONIMO-1448:
-----------------------------------------

I am certain isn't a Tomcat issue, its the application itself.  Look at the base URl of a link...ntice it says:

http://localhost:8080/index.vm?ObjectNameFilter=*%3A*&MBeanName=geronimo.config%3Aname%3D%22geronimo%2Factivemq-broker%2F1.0-SNAPSHOT%2Fcar%22

The context is not getting appended on to it.  Insert /debug-tool/ after the 8080 and everything works fine.

It seems to be an invalid URL of some sort...I'll bet its a misuse of a relative path.  

I think this bug needs to be classified under another (maybe jmxdebug?) component since its not Tomcat.

> debug-tool does not work on Tomcat
> ----------------------------------
>
>          Key: GERONIMO-1448
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1448
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0
>  Environment: Geronimo-1.0
>     Reporter: Kevan Miller
>      Fix For: 1.0.1

>
> The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:
> HTTP Status 404 - /index.vm
> type Status report
> message /index.vm
> description The requested resource (/index.vm) is not available.
> Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1448) debug-tool does not work on Tomcat

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1448?page=all ]

Donald Woods updated GERONIMO-1448:
-----------------------------------

    Attachment: Geronimo-1448.patch

Attaching patch created against latest AG 1.0 branch code for 1.0.1, which fixed this on my local Tomcat build and assembly.  Seems that is was related to comments left in the geronimo-web.xml and needing to set UTF-8 in the servlet init-params.

> debug-tool does not work on Tomcat
> ----------------------------------
>
>          Key: GERONIMO-1448
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1448
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0
>  Environment: Geronimo-1.0
>     Reporter: Kevan Miller
>      Fix For: 1.0.1
>  Attachments: Geronimo-1448.patch
>
> The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:
> HTTP Status 404 - /index.vm
> type Status report
> message /index.vm
> description The requested resource (/index.vm) is not available.
> Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1448) debug-tool does not work on Tomcat

Posted by "Kevan Miller (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1448?page=all ]
     
Kevan Miller closed GERONIMO-1448:
----------------------------------

    Resolution: Fixed

For some reason, Tomcat doesn't like <url-pattern>/*</url-pattern>. Setting to '/' fixes the problem.

Trunk:
Sending        applications/jmxdebug/src/webapp/WEB-INF/web.xml
Transmitting file data .
Committed revision 374665.

branches/1.0:
Sending        1.0/applications/jmxdebug/src/webapp/WEB-INF/web.xml
Transmitting file data .
Committed revision 374664.


> debug-tool does not work on Tomcat
> ----------------------------------
>
>          Key: GERONIMO-1448
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1448
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0
>  Environment: Geronimo-1.0
>     Reporter: Kevan Miller
>     Assignee: Kevan Miller
>      Fix For: 1.0.1, 1.1
>  Attachments: Geronimo-1448.patch
>
> The debug console doesn't work when running Tomcat. The base page loads successfully. However, when you click on a GBean, you get a 404:
> HTTP Status 404 - /index.vm
> type Status report
> message /index.vm
> description The requested resource (/index.vm) is not available.
> Apache Tomcat/5.5.9

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira