Michael,

The fact that JMX bean names are different between Windows and Linux is
definitely not right. Could you please open a bug report at
http://bugs.eclipse.org/bugs under RT | Jetty so that it could be properly
investigated?

Thanks,
-Michael

On Wed, May 25, 2011 at 8:55 AM, Michael Golubev <[email protected]>wrote:

> 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
>
>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to