Jim Brace wrote:
Hi,
I'm using cocoon 2.1.7 under jdk 1.5.
I've written some basic actions, but am puzzled that these actions seem to
need a "warm up". If I leave the system running overnight, first hit in the
morning will be terribly slow. After that, all is ok.
My Actions do not implement "Threadsafe", so they should be poolable. Still,
adding pooling attributes (pool min/max/grow) to the declaration doesn't
seem to help.
Can anyone give me pointers where to start looking to resolve this, please?
I would try to make the actions ThreadSafe :) however, if that's not
possible, you need to implement the Poolable interface in order to get
the actions pooled.
Without any marker interface (ThreadSafe, Poolable), the action objects
are created on demand and thrown away after usage.
HTH
Carsten
Thanks in advance
Jim
--
Carsten Ziegeler
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]