You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Heather Marie Buch <hb...@imf.au.dk> on 2004/01/06 17:22:36 UTC

server hangs after finite number of requests

Hi all, 

If I submit the same page more than 8 times, my server dies and I have to
restart. For example, the first 8 times I enter the wrong password, struts
will simply return me to my original form with an error message. However,
the 9th time - the server hangs.

This also occurs if I enter the correct password, then press the
"back" button and return to the original login screen and submit again. I
can only repeat this 8 times. The server hangs on the 9th try.

I am using:

tomcat 4.1.12
httpd 2.0.43
mysql 3.23.53
struts 1.1

I am not even sure if this is a struts problem. I suspect it is because I
tried that back  button trick with a plain old servlet, and I was able to
do it more than 9 times.

Any help would be greatly appreciated! My boss wants users to be able to
try passwords more than 9 times!

Thanks,

Heather Buch



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Its Safe to use the Action.ERROR_KEY ?

Posted by David Erickson <de...@cmcflex.com>.
I don't see why not.. considering Action.ERROR_KEY is a static so if it ever
changes your already referencing the new location.
-David

----- Original Message ----- 
From: "José Gustavo Zagato" <jo...@emacdigital.com.br>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Tuesday, January 06, 2004 11:17 AM
Subject: Its Safe to use the Action.ERROR_KEY ?


Hi Folks !

I'd like to know if is a good practice to use the
Action.ERROR_KEY to access the errors at the request. I just want to
check if error already exists on the request.

Thank's !



  José Gustavo Zagato Rosa
System Analyst - Atos Origin
jose.gustavo@emacdigital.com.br


-----Original Message-----
From: Geeta Ramani [mailto:geeta.ramani@cmpco.com]
Sent: terça-feira, 6 de janeiro de 2004 13:54
To: Struts Users Mailing List
Subject: Re: server hangs after finite number of requests

Heather:

Check any jdbc code you have.  If you don't close statements/result sets
and/or
release connections that you have opened, then this sort of thing can
happen.

Regards,
Geeta

Manfred Wolff wrote:

> Heather.
>
> Have you studied the tomcat logs?
>
> Manfred Wolff
>
> Heather Marie Buch wrote:
>
> >Hi all,
> >
> >If I submit the same page more than 8 times, my server dies and I
have to
> >restart. For example, the first 8 times I enter the wrong password,
struts
> >will simply return me to my original form with an error message.
However,
> >the 9th time - the server hangs.
> >
> >This also occurs if I enter the correct password, then press the
> >"back" button and return to the original login screen and submit
again. I
> >can only repeat this 8 times. The server hangs on the 9th try.
> >
> >I am using:
> >
> >tomcat 4.1.12
> >httpd 2.0.43
> >mysql 3.23.53
> >struts 1.1
> >
> >I am not even sure if this is a struts problem. I suspect it is
because I
> >tried that back  button trick with a plain old servlet, and I was
able to
> >do it more than 9 times.
> >
> >Any help would be greatly appreciated! My boss wants users to be able
to
> >try passwords more than 9 times!
> >
> >Thanks,
> >
> >Heather Buch
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Its Safe to use the Action.ERROR_KEY ?

Posted by José Gustavo Zagato <jo...@emacdigital.com.br>.
Hi Folks !
	
	I'd like to know if is a good practice to use the
Action.ERROR_KEY to access the errors at the request. I just want to
check if error already exists on the request.

Thank's !



  José Gustavo Zagato Rosa
System Analyst - Atos Origin
jose.gustavo@emacdigital.com.br


-----Original Message-----
From: Geeta Ramani [mailto:geeta.ramani@cmpco.com] 
Sent: terça-feira, 6 de janeiro de 2004 13:54
To: Struts Users Mailing List
Subject: Re: server hangs after finite number of requests

Heather:

Check any jdbc code you have.  If you don't close statements/result sets
and/or
release connections that you have opened, then this sort of thing can
happen.

Regards,
Geeta

Manfred Wolff wrote:

> Heather.
>
> Have you studied the tomcat logs?
>
> Manfred Wolff
>
> Heather Marie Buch wrote:
>
> >Hi all,
> >
> >If I submit the same page more than 8 times, my server dies and I
have to
> >restart. For example, the first 8 times I enter the wrong password,
struts
> >will simply return me to my original form with an error message.
However,
> >the 9th time - the server hangs.
> >
> >This also occurs if I enter the correct password, then press the
> >"back" button and return to the original login screen and submit
again. I
> >can only repeat this 8 times. The server hangs on the 9th try.
> >
> >I am using:
> >
> >tomcat 4.1.12
> >httpd 2.0.43
> >mysql 3.23.53
> >struts 1.1
> >
> >I am not even sure if this is a struts problem. I suspect it is
because I
> >tried that back  button trick with a plain old servlet, and I was
able to
> >do it more than 9 times.
> >
> >Any help would be greatly appreciated! My boss wants users to be able
to
> >try passwords more than 9 times!
> >
> >Thanks,
> >
> >Heather Buch
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: server hangs after finite number of requests

Posted by Geeta Ramani <ge...@cmpco.com>.
Heather:

Check any jdbc code you have.  If you don't close statements/result sets and/or
release connections that you have opened, then this sort of thing can happen.

Regards,
Geeta

Manfred Wolff wrote:

> Heather.
>
> Have you studied the tomcat logs?
>
> Manfred Wolff
>
> Heather Marie Buch wrote:
>
> >Hi all,
> >
> >If I submit the same page more than 8 times, my server dies and I have to
> >restart. For example, the first 8 times I enter the wrong password, struts
> >will simply return me to my original form with an error message. However,
> >the 9th time - the server hangs.
> >
> >This also occurs if I enter the correct password, then press the
> >"back" button and return to the original login screen and submit again. I
> >can only repeat this 8 times. The server hangs on the 9th try.
> >
> >I am using:
> >
> >tomcat 4.1.12
> >httpd 2.0.43
> >mysql 3.23.53
> >struts 1.1
> >
> >I am not even sure if this is a struts problem. I suspect it is because I
> >tried that back  button trick with a plain old servlet, and I was able to
> >do it more than 9 times.
> >
> >Any help would be greatly appreciated! My boss wants users to be able to
> >try passwords more than 9 times!
> >
> >Thanks,
> >
> >Heather Buch
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: server hangs after finite number of requests

Posted by Manfred Wolff <ma...@manfred-wolff.de>.
Heather.

Have you studied the tomcat logs?

Manfred Wolff

Heather Marie Buch wrote:

>Hi all, 
>
>If I submit the same page more than 8 times, my server dies and I have to
>restart. For example, the first 8 times I enter the wrong password, struts
>will simply return me to my original form with an error message. However,
>the 9th time - the server hangs.
>
>This also occurs if I enter the correct password, then press the
>"back" button and return to the original login screen and submit again. I
>can only repeat this 8 times. The server hangs on the 9th try.
>
>I am using:
>
>tomcat 4.1.12
>httpd 2.0.43
>mysql 3.23.53
>struts 1.1
>
>I am not even sure if this is a struts problem. I suspect it is because I
>tried that back  button trick with a plain old servlet, and I was able to
>do it more than 9 times.
>
>Any help would be greatly appreciated! My boss wants users to be able to
>try passwords more than 9 times!
>
>Thanks,
>
>Heather Buch
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org