2011/1/18 Curtis Garman <curt.gar...@gmail.com>: > I just got the following message in my catalina.out log file > > INFO: Maximum number of threads (150) created for connector with address ... > and port ... > > This leads me to believe that traffic is heavy and I should increase the > maxThreads value on the ajp connector. I increased it and logged into > jconsole to view the other properties on my ajp connector and noticed > properties for both maxSpareThreads and minSpareThreads. These look like > they would be good to set too but when I try to set them, I get the > following in my log at startup > > Jan 18, 2011 9:43:35 AM org.apache.catalina.startup.SetAllPropertiesRule > begin > WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property > 'minSPareThreads' to '...' did not find a matching property.
Spelling is important. > Jan 18, 2011 9:43:35 AM org.apache.catalina.startup.SetAllPropertiesRule > begin > WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property > 'maxSpareThreads' to '...' did not find a matching property. > > I checked the apache documentation online ( > http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html) and they don't list > these properties...which leads me to two questions. > > 1) why do they show up in jconsole if they are invalid properties? There are a number of inconsistencies between JMX properties and the actual implementation. A lot of those were fixed for the new Tomcat 7 during the last summer (thanks to one GSOC student). There is little interest in backporting those changes to TC6 (or better explanation would be that removing some properties might break things). jconsole displays those attributes as empty > 2) were the properties renamed or was the functionality of these two > properties rolled into some other property? > http://markmail.org/message/qhpcpy3m2anpwp23 Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org