Thanks Thomas, I did not have it. When I saw Solr Mbean stuff working, I assumed jmx was on, not realizing that "jetty-jmx.xml" turns on jmx specifically for Jetty.
So in digging around, I think I found the right place to see the statistics? https://skitch.com/epugh/8mubm/java-monitoring-and-management-console If this is right, I'll see if I can update the tutorial! Eric On Mar 20, 2012, at 7:28 AM, Thomas Becker wrote: > Hi Eric, > > do you have jetty-jmx.xml enabled? I miss that in your commandline, but you > can as well enable it via start.ini. > > Cheers, > Thomas > > On 3/20/12 12:27 PM, Eric Pugh wrote: >> Hi all, >> >> I am trying to figure out why I sometimes lose my connections. I *think* >> that turning on the connector statistics will give me more visiblity into if >> I am running out of connections, or hitting the low resources settings: >> >> <Call name="addConnector"> >> <Arg> >> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> >> <Set name="host"><Property name="jetty.host" /></Set> >> <Set name="port"><Property name="jetty.port" >> default="8080"/></Set> >> <Set name="maxIdleTime">300000</Set> >> <Set name="Acceptors">2</Set> >> <Set name="statsOn">true</Set> >> <Set name="confidentialPort">8443</Set> >> <Set name="lowResourcesConnections">20000</Set> >> <Set name="lowResourcesMaxIdleTime">5000</Set> >> </New> >> </Arg> >> </Call> >> >> However, after turning them on via statsOn=true, and restarting the code: >> >> java >> -Dsolr.solr.home=/Users/epugh/Documents/projects/solrcookbook/asf_trunk/solr/example/solr/ >> -jar start.jar OPTIONS=default etc/jetty-stats.xml >> >> I don't see anything coming out. I connected via JConsole, but there >> doesn't seem to be anything Jetty specific: >> >> https://skitch.com/epugh/8m173/java-monitoring-and-management-console >> >> Any suggestions on how to see those statistics? >> >> Eric Pugh >> >> >> >> ----------------------------------------------------- >> Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | >> http://www.opensourceconnections.com >> Co-Author: Apache Solr 3 Enterprise Search Server available from >> http://www.packtpub.com/apache-solr-3-enterprise-search-server/book >> This e-mail and all contents, including attachments, is considered to be >> Company Confidential unless explicitly stated otherwise, regardless of >> whether attachments are marked as such. >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/jetty-users > > -- > thomas becker > [email protected] > > http://webtide.com / http://intalio.com > (the folks behind jetty and cometd) > ----------------------------------------------------- Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com Co-Author: Apache Solr 3 Enterprise Search Server available from http://www.packtpub.com/apache-solr-3-enterprise-search-server/book This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such. _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
