You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Stoeckel, Matthias" <Ma...@Dresdner-Bank.com> on 2003/06/02 12:43:58 UTC

Bug regarding the ContinuationManager ?

Hi,

I tried to setup a similar background task as the ContinuationManager,
therefore I played with the parameters (interval with about 2 sec.) in order
to see some log messages. I also created a new minimal RepeatedCommand and
this didn't function also. Unfortunately it seems as the RepeatedCommand
(and therefore the Continuation expiration) is never called. Has anyone else
noticed this behavior? I'm using a clean CVS HEAD checkout under Linux
(1.4.1) and Solaris (1.3.1_06).
Changing the threads-per-processor for the thread manager seems to fix the
problem.
Cheers
  Matthias


Index: Cocoon.java
===================================================================
RCS file:
/home/cvspublic/cocoon-2.1/src/java/org/apache/cocoon/Cocoon.java,v
retrieving revision 1.7
diff -u -r1.7 Cocoon.java
--- Cocoon.java	23 May 2003 09:18:48 -0000	1.7
+++ Cocoon.java	2 Jun 2003 10:31:05 -0000
@@ -199,7 +199,7 @@
                 CommandManager commands = new CommandManager();
                 
                 Parameters params = new Parameters();
-                params.setParameter("threads-per-processor", "1");
+                params.setParameter("threads-per-processor", "2");
                 params.setParameter("sleep-time", "100");
                 params.setParameter("block-timeout", "1000");
                 params.setParameter("force-shutdown", "false");