https://issues.apache.org/bugzilla/show_bug.cgi?id=47227
Summary: Executor "namePrefix" property not working well Product: Tomcat 6 Version: 6.0.18 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Connectors AssignedTo: dev@tomcat.apache.org ReportedBy: thierry.leve...@vantrix.com When setting a "namePrefix" to an Executor in server.xml, new threads in the pool do not always use the given name prefix. For my tests I used this descriptor: <Executor name="VanExecutor" namePrefix="VanMx6Mn1-STI" maxThreads="6" minSpareThreads="1" maxIdleTime="10000" daemon="false" /> The executor is assigned to my http connector: <Connector port="8700" executor="VanExecutor" enableLookups="false" allowTrace="true" vanAdditionalParams="here" maxThreads="200" acceptCount="20" connectionTimeout="60000" bufferSize="4096" disableUploadTimeout="true" maxProcessors="10" minProcessors="5" /> When I start my server and look with jconsole (or jstack), I can see that the first thread is really using my defined prefix. But most of the subsequent threads use the name "Null_Thread_Name". I said "most" because sometime I see my prefix used again correctly but only when using a large amount of threads (i.e. max 200 min 100). I am using jdk 1.6.012. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org