You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Babak Vahdat (JIRA)" <ji...@apache.org> on 2011/09/03 15:10:09 UTC
[jira] [Created] (CAMEL-4410) the URI of the servlet-endpoint
exposed to JMX is not accurate
the URI of the servlet-endpoint exposed to JMX is not accurate
--------------------------------------------------------------
Key: CAMEL-4410
URL: https://issues.apache.org/jira/browse/CAMEL-4410
Project: Camel
Issue Type: Improvement
Components: camel-servlet
Affects Versions: 2.8.0
Reporter: Babak Vahdat
Priority: Minor
Fix For: 2.9.0
Attachments: servlet-jmx.patch
As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed with the URI '/test' on the JMX!
For details see:
http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096847#comment-13096847 ]
Babak Vahdat commented on CAMEL-4410:
-------------------------------------
Hi Willem,
Thanks for applying the patch.
It wouldn't hurt in anyway, but just realized that you added the line
{code}
//Thread.sleep(1000000);
{code}
which is commented out by the provided unit-test ExposedServletEndpointURIToJMXTest.
Did you have eventually any problem running the tests?
Regards, Babak
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: camel-servlet.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4410) the URI of the servlet-endpoint
exposed to JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4410:
--------------------------------
Fix Version/s: 2.8.1
> the URI of the servlet-endpoint exposed to JMX is not accurate
> --------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: servlet-jmx.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed with the URI '/test' on the JMX!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4410:
--------------------------------
Description:
As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
For details see:
http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
was:
As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed with the URI '/test' on the JMX!
For details see:
http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: servlet-jmx.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4410:
--------------------------------
Attachment: camel-servlet.patch
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: camel-servlet.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4410) The URI of the servlet-endpoint
exposed to JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4410:
--------------------------------
Summary: The URI of the servlet-endpoint exposed to JMX is not accurate (was: the URI of the servlet-endpoint exposed to JMX is not accurate)
> The URI of the servlet-endpoint exposed to JMX is not accurate
> --------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: servlet-jmx.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed with the URI '/test' on the JMX!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4410:
--------------------------------
Summary: The URI of the ServletEndpoint exposed to the JMX is not accurate (was: The URI of the servlet-endpoint exposed to JMX is not accurate)
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: servlet-jmx.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed with the URI '/test' on the JMX!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096742#comment-13096742 ]
Babak Vahdat commented on CAMEL-4410:
-------------------------------------
Included the checkstyle fixes as well so that
{code}
mvn -Psourcecheck install
{code}
is happy as well.
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: camel-servlet.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4410:
--------------------------------
Attachment: (was: servlet-jmx.patch)
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4410) the URI of the servlet-endpoint
exposed to JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4410:
--------------------------------
Attachment: servlet-jmx.patch
> the URI of the servlet-endpoint exposed to JMX is not accurate
> --------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.9.0
>
> Attachments: servlet-jmx.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed with the URI '/test' on the JMX!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-4410.
---------------------------------
Resolution: Fixed
Applied patch into trunk and camel-2.8.x with thanks to Babak.
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: camel-servlet.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096862#comment-13096862 ]
Babak Vahdat commented on CAMEL-4410:
-------------------------------------
O.K. I see, that's also why you changed the ObjectName constructor parameter from:
{code}
org.apache.camel:context=camel/...
{code}
to:
{code}
org.apache.camel:context=*/...
{code}
So I think I'm gonne change my box name to something else other than 'camel' in the future, however that would be really a tough decision ;-).
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: camel-servlet.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-4410:
-----------------------------------
Assignee: Willem Jiang
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: camel-servlet.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-4410) the URI of the servlet-endpoint
exposed to JMX is not accurate
Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096655#comment-13096655 ]
Babak Vahdat commented on CAMEL-4410:
-------------------------------------
The patch contains a unit test as well which proves the fix.
> the URI of the servlet-endpoint exposed to JMX is not accurate
> --------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: servlet-jmx.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed with the URI '/test' on the JMX!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-4410) The URI of the ServletEndpoint
exposed to the JMX is not accurate
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096849#comment-13096849 ]
Willem Jiang commented on CAMEL-4410:
-------------------------------------
@Babak,
oh, the test is failed on my box because of the hostname of box is not camel.
I will remove the Thread sleep line in my next commit.
> The URI of the ServletEndpoint exposed to the JMX is not accurate
> -----------------------------------------------------------------
>
> Key: CAMEL-4410
> URL: https://issues.apache.org/jira/browse/CAMEL-4410
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.8.0
> Reporter: Babak Vahdat
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.8.1, 2.9.0
>
> Attachments: camel-servlet.patch
>
>
> As an example a ServletEndpoint with the URI 'servlet:///test?matchOnUriPrefix=true&servletName=test' is exposed as '/test' on the JMX-MBeanServer!
> For details see:
> http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-td4757427.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira