8 Replies Latest reply on Dec 3, 2010 9:30 AM by alexjfisher

    Executor in server.xml ignored?

    Joshua Davis Expert

      I'm using JBoss AS 5.1.0.GA.  I was looking at the documentation for the <Executor> element because I would like to have our JBoss AJP threads cleaned up when they aren't in use.   http://docs.jboss.org/jbossweb/latest/config/executor.html


      Seems straightforward enough, but every time I try it JBoss basically ignores the 'executor' attribute in the AJP and HTTP connectors:

      • jmx-console shows the default maximum threads, rather than the number of threads in my <Executor>.
      • The log files don't show the namePrefix specified in the <Executor>.   They show the same thread name: 'http-' or 'ajp-'.


      I looked in these topics as well, tried pasting in the XML snippets into my server.xml file... same result - the executor seems to be ignored:



      Here's a snippet of my server.xml is attached.