You could write a valve for tomcat, put that into server/libs and
configure your tomcat via server.xml to use it. This valve could
basically sleep 1 second or longer before allowing the tomcat to
continue with request processing. This was you willnot modify the
webapp neither slow down the entire machine. Just your tomcat
instance.

regards
Leon

On 4/7/07, L.W. van Braam van Vloten <[EMAIL PROTECTED]> wrote:
Thanks for this reply!

Shankar Unni wrote:
 > * Renice these make-work processes so that they are at the highest
 > priority (not real-time, though, or you'll have to reboot your box :-);
 > and renice the Tomcat so that it's at the lowest priority.

Unfortunately this will not work:
- I can not modify the code for my webservice
- I need to slow down only my own implementation om Tomcat, and most
definately not the entire machine! I am not by far the only user of this
machine, my entire company depends on it :)

Besides, I have no idea how to renice a process on a modern iSeries so
that it runs unimaginably slow...

Greetings, Lucas



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to