title: thread-max config not read by Resin 4.0.32
body: <p>It seems to me the thread-max is always 128 no matter what I set:</p>
  
  <p>Below is my config.</p>
  
  <pre><code>&lt;server-default&gt;
      &lt;jvm-arg-line&gt;-Xmx2048m&lt;/jvm-arg-line&gt;
      &lt;thread-max&gt;64&lt;/thread-max&gt;
  &lt;/server-default&gt;
  
  &lt;server id="" address="127.0.0.1" port="6800"&gt;
  
      &lt;-- More settings --&gt;
  
      &lt;!-- Maximum number of threads. --&gt;
      &lt;thread-max&gt;20&lt;/thread-max&gt;
  
  &lt;/server&gt;
  </code></pre>
  
  <p>Am I missing something about this? How do I get the config work?</p>
  
  <p>I can set the value in by code:</p>
  
  <pre><code>com.caucho.util.ThreadPool.setThreadMax(6);
  </code></pre>
  
  <p>Had another problem with the <code>com.caucho.util.ThreadPool.setThreadMax(6)</code>. If I debug or run through Eclipse, it is OK. However, when I run in the Cmd with ant, it reports: <code>[java] java.lang.NoClassDefFoundError: com/caucho/util/ThreadPool</code> exception.</p>
  
  <p>I am using Resin 4.0.32 with Java 1.6_16. Eclipse version is 4.2 if this matters. </p>
  
  <p>Any suggestion or comments are appreciated.</p>