[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] JMX MBean names in 4.7.1
|
Hello
I can see JMX MBean names were changed in 7.4.1. Moreover, they differ in Windows and Linux versions of Jetty (see attached screenshots)
- on Windows:
-- if context path is "/" then the ObjectName is like
"org.eclipse.jetty.webapp:type=webappcontext,id=1" (no "name"attribute)
-- if context path is like "/ctx" then the ObjectName is like
"org.eclipse.jetty.webapp:type=webappcontext,name=/ctx,id=1" ("name" attribute starts with "/")
- on Linux:
-- if context path is "/" then the ObjectName is like
"org.eclipse.jetty.webapp:type=webappcontext,name=ROOT,id=1" ("name" attribute is set to "ROOT")
-- if context path is like "/ctx" then the ObjectName is like "org.eclipse.jetty.webapp:type=webappcontext,name=ctx,id=1" ("name" attribute doesn't start with "/")
It's strange to have different behavior here in different OS'es. Is this a bug? Is it subject to change in the nearest future?
Attaching the screenshots of jconsole showing ObjectName when the context path is "/" for Windows and Linux cases.
Thanks for clarifications,
Regards,
Michael
Attachment:
jetty-context-linux.png
Description: PNG image
Attachment:
jetty-context-win.png
Description: PNG image