We actually didnt provide you any solution, but its pretty hard, since
you haven't provided any details :-)
There are many possibilities, IP-Throttle, session-based throttle or a
mechanism which manages the overall load on the server. Without
knowing what you are doing, providing even a hint is p
I think you misunderstand things a bit here (or maybe the spec wasnt
clear, as often)
servlet spec 2.5 (the current one, and the one tomcat 6 is
implementing) states in
SRV.14.2.2 Web Application Environment (9.11 now merily point to this chapter):
"Java EE defines a naming environment that allo
called before the delay has completed you redirect the user to Page 2
instead of Page 3.
Hope this is useful,
Al.
-Original Message-
From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED]
Sent: 17 July 2007 15:28
To: Struts Users Mailing List
Subject: Re: slowing down action execution time
thanks to all
I'll try...
Il giorno 17/lug/07, alle ore 16:38, Antonio Petrelli ha scritto:
2007/7/17, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
I don't remember where but I think I read somewhere that's not
possibile to call Thread methods inside a servlet container.
Anyone can confirm this
2007/7/17, Leon Rosenberg <[EMAIL PROTECTED]>:
you can create threads in tomcat. It's not recommended unless you know
what you are doing, but you can.
It seems that you are right... and not :-)
You can create threads in a servlet container, but it is not portable.
As stated in Servlet 2.4 sp
On 7/17/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
2007/7/17, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
> I don't remember where but I think I read somewhere that's not
> possibile to call Thread methods inside a servlet container.
>
> Anyone can confirm this ?
AFAIK you cannot create any t
On 7/17/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
2007/7/17, Wesley Wannemacher <[EMAIL PROTECTED]>:
>
> I've found the most effective way to slow down the execution time is ask
> an intern to "optimize" it...
Hey it's not friday, you broke the rule! ;-)
yeah, but it was funny :-)
A
2007/7/17, Wesley Wannemacher <[EMAIL PROTECTED]>:
I've found the most effective way to slow down the execution time is ask
an intern to "optimize" it...
Hey it's not friday, you broke the rule! ;-)
Antonio
I've found the most effective way to slow down the execution time is ask
an intern to "optimize" it...
/zing
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 10:38 AM
To: Struts Users Mailing List
Subject: Re: slow
2007/7/17, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
I don't remember where but I think I read somewhere that's not
possibile to call Thread methods inside a servlet container.
Anyone can confirm this ?
AFAIK you cannot create any thread in a Java EE environment (though
products like Quartz do
I need to initially slow down and after a few minutes completely
block access to aa site to logged-users and/or remote ip addresses
that reads too many pages too fast.
It's something like controlling that the site is not mirrored.
I don't remember where but I think I read somewhere that's no
actually you named it.
Thread.sleep().
only for debugging purposes of course :-)
regards
leon
On 7/17/07, Ing. Andrea Vettori <[EMAIL PROTECTED]> wrote:
Hi
what's the best method to slow an action execution time ? Something
like Thread.sleep(...).
Thanks !
--
Ing. Andrea Vettori
Consulente p
Hi
what's the best method to slow an action execution time ? Something
like Thread.sleep(...).
Thanks !
--
Ing. Andrea Vettori
Consulente per l'Information Technology
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
13 matches
Mail list logo