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
quot;throttle"
your connection, making your application appear slow to the client without
slowing down the whole machine. Take a look at
http://www.xk72.com/charles/wiki/bandwidth_throttle
ps. I am not affiliated, just a happy user.
-- Forwarded Message --
Subject: Re: Make Tomca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lucas,
L.W. van Braam van Vloten wrote:
> 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
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 mod
L.W. van Braam van Vloten wrote:
So my question is: would there be an easy way to make Tomcat on my
iSeries machine run rediculously slow?
Lots of funny replies come to mind, but the simplest is:
* Run a process that just spins forever:
while (1) ;
Run as many of these as you have CPU
Hello group,
I am using a Tomcat webservice to send data from an application under
IBM Websphere on a
Windows 2003 server to a DB2 database on an iSeries.
Tomcat runs on the iSeries, version is 5.5.4, java version is 1.4.2.
In the setup of one customer an error occurs in the Websphere
appli