Hi guys,
Any kind soul could point me to some doco on thread-manager configuration? 
I'd like to figure out how to specifically make other components 'look up'
and use a thread pool. 

The documentation for Threadmanager block only says 'This block controls the
thread pools available inside James. Only expert administators should modify
this configuration.'. Not much luck on the wiki :(

I'm running James 2.2 on a Win2K server box and it hit a 'Could not create
enough Components to service your request' error today. I'm hoping to solve
my problem by providing a bigger and more dedicated thread pool for each
service.
----------------------
I have the following config.xml:

   <!-- The Connection Manager block -->
...
   <connections>
      <idle-timeout>300000</idle-timeout>
      <max-connections>0</max-connections>
   </connections>
...
   <!-- The Thread Manager block -->
...
   <thread-manager>
      <thread-group>
         <name>default</name>
         <priority>5</priority>
         <is-daemon>false</is-daemon>
         <max-threads>1000</max-threads>
         <min-threads>20</min-threads>
         <min-spare-threads>20</min-spare-threads>
      </thread-group>
   </thread-manager>
----------------------
I got this error in my connections log file:

22/05/06 15:02:23 ERROR connections: Exception executing client connection
runner: Could not create enough Components to service your request.
java.lang.Exception: Could not create enough Components to service your
request.
        at
org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:133)
        at
org.apache.james.util.connection.ServerConnection.addClientConnectionRunner(
ServerConnection.java:215)
        at
org.apache.james.util.connection.ServerConnection.run(ServerConnection.java:
304)
        at
org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.j
ava:55)
        at
org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
----------------------
Regards,
Al.

Send instant messages to your online friends http://asia.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to