Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] how to find out the http port of Jetty (selectchannelconnector) thru mbeans

Which version of Jetty embedded are you using?

For a standalone Jetty 8.1.0 , the SelectChannelConnector shows up pretty perfectly with all its expected attributes: org.eclipse.jetty.server.nio:type=selectchannelconnector,id=0

On embedded you can try registering the connector wrapped into a org.eclipse.jetty.jmx.ObjectMBean at the MBeanServer yourself. Find the helper class in the jetty-jmx jar

Regards
Andreas

On Tue, Feb 28, 2012 at 1:29 AM, Kiru Pakkirisamy <kirupakkirisamy@xxxxxxxxx> wrote:
Hi,
I have brought up an Embedded Jetty and I have a HTTP endpoint and my own special connector. 
When I look at the org.eclipse.jetty.server mbean I see two connectors. But one connector seems to be null. But I can look at the Attributes/Operations of my connector. Only the SelectChannelConnector is missing in the radar.
Appreciate any help why the mbean for this is not showing up.

Regards,
- kiru

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top