if ( this._serverInfo.isAutomaticThreadPoolResize() )
{
timer = new Timer();
// schedule a monitor task for the read-process-thread-pool
timer.schedule( new ThreadPoolResizer( this._readpool, this._serverInfo.getMaxReadProcessors(),
EJConstants.EJOE_POOL_RESIZER_SHRINKWAIT ), this._serverInfo
.getPoolResizePeriod(), this._serverInfo.getPoolResizePeriod() );
// schedule a monitor task for the writer-thread-pool
timer.schedule( new ThreadPoolResizer( this._writePool, this._serverInfo.getMaxWriteProcessors(),
EJConstants.EJOE_POOL_RESIZER_SHRINKWAIT ), this._serverInfo
.getPoolResizePeriod(), this._serverInfo.getPoolResizePeriod() );
}
try