workers = new WorkerStack(maxThreads);
}
+ // Start poller thread
+ poller = new Poller();
+ Thread pollerThread = new Thread(poller, getName() + "-ClientPoller");
+ pollerThread.setPriority(threadPriority);
+ pollerThread.setDaemon(true);
+ pollerThread.start();
+
// Start acceptor threads
for (int i = 0; i < acceptorThreadCount; i++) {
Thread acceptorThread = new Thread(new Acceptor(), getName() + "-Acceptor-" + i);
acceptorThread.setDaemon(daemon);
acceptorThread.start();
}
-
- // Start poller thread
- poller = new Poller();
- Thread pollerThread = new Thread(poller, getName() + "-ClientPoller");
- pollerThread.setPriority(threadPriority);
- pollerThread.setDaemon(true);
- pollerThread.start();
}
}
<section name="Tomcat 6.0.15 (remm)">
<subsection name="General">
<changelog>
+ <fix><bug>43701</bug>: Start acceptor thread before poller thread
+ </fix>
<update>Fix the MD5 file contents in distribution</update>
<update>
Add ANT script to be able to publish signed Tomcat JAR's to ASF Maven repo (fhanik)