You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Uma Maheswara Rao M <ma...@gmail.com> on 2011/02/17 18:39:34 UTC

500 Internal Server Error after 5 minutes

Hi ,

Need help in resolving below issue. We are requesting a servlet and that
servlet will run for 20 min to provide the information, meanwhile exactly
after 5 minutes we are getting "Internal Server Error". We are using
apache-tomcat-6.0.26. Is there any setting which can cause this error? Is
there any solution for this problem? It is happening only in client's
environment, it is not reproducible in our environments. Please help me in
resolving this issue.

Thanks & Regards,
UmaMaheswaraRao

Re: 500 Internal Server Error after 5 minutes

Posted by Uma Maheswara Rao M <ma...@gmail.com>.
Hi Friends,

Issue resolved. Problem is with the apache webserver timeout. Client is
using apache webserver to redirect the request to tomcat server, apache
server will have default timeout of 5 minutes. So we are getting Internal
Server Error. I asked clinet to use direct tomcat servr URL instead of
through apache server and the issue resolved. Need to increase the timeout
in apache server to make it work.
Thanks for all your support.

Thanks
Mahesh

On Fri, Feb 18, 2011 at 3:15 PM, Uma Maheswara Rao M <ma...@gmail.com>wrote:

> Hi,
>
> Sorry, i am asking this personally.
>
> Thanks
> Mahesh
>
>   On Fri, Feb 18, 2011 at 3:25 AM, Pid <pi...@pidster.com> wrote:
>
>> On 2/17/11 5:55 PM, Martin Gainty wrote:
>> > we need more information to assist with your problem:
>> > clients name:
>> > clients billing address
>>
>> LOL
>>
>> Man, you crack me up.
>>
>>
>> p
>>
>>
>

Re: 500 Internal Server Error after 5 minutes

Posted by Uma Maheswara Rao M <ma...@gmail.com>.
Hi,

Sorry, i am asking this personally.

Thanks
Mahesh

On Fri, Feb 18, 2011 at 3:25 AM, Pid <pi...@pidster.com> wrote:

> On 2/17/11 5:55 PM, Martin Gainty wrote:
> > we need more information to assist with your problem:
> > clients name:
> > clients billing address
>
> LOL
>
> Man, you crack me up.
>
>
> p
>
>

Re: 500 Internal Server Error after 5 minutes

Posted by Pid <pi...@pidster.com>.
On 2/17/11 5:55 PM, Martin Gainty wrote:
> we need more information to assist with your problem:
> clients name:
> clients billing address

LOL

Man, you crack me up.


p


RE: 500 Internal Server Error after 5 minutes

Posted by Martin Gainty <mg...@hotmail.com>.
we need more information to assist with your problem:
clients name:
clients billing address

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Thu, 17 Feb 2011 12:39:34 -0500
> Subject: 500 Internal Server Error after 5 minutes
> From: mail2mumr@gmail.com
> To: users@tomcat.apache.org
> 
> Hi ,
> 
> Need help in resolving below issue. We are requesting a servlet and that
> servlet will run for 20 min to provide the information, meanwhile exactly
> after 5 minutes we are getting "Internal Server Error". We are using
> apache-tomcat-6.0.26. Is there any setting which can cause this error? Is
> there any solution for this problem? It is happening only in client's
> environment, it is not reproducible in our environments. Please help me in
> resolving this issue.
> 
> Thanks & Regards,
> UmaMaheswaraRao
 		 	   		  

RE: 500 Internal Server Error after 5 minutes

Posted by Joseph Morgan <jo...@ignitesales.com>.
Sounds like you are looking at the 900lb Gorilla.  

Is the servlet is capturing exceptions and either not logging them or
ignoring them?
If the servlet is yours, instrument the code and follow it within the
logs.
If the servlet is not yours, then appeal to those responsible for it.
Is it loading too much data into memory?
What are the JVM memory settings?

You should provide a little more detail (without sending source code)...
Otherwise, Martin's suggestion was right on.. what is your client's name
and billing address....
 
-----Original Message-----
From: Uma Maheswara Rao M [mailto:mail2mumr@gmail.com] 
Sent: Thursday, February 17, 2011 12:38 PM
To: Tomcat Users List
Subject: Re: 500 Internal Server Error after 5 minutes

No specific information in the log.


On Thu, Feb 17, 2011 at 1:10 PM, Joseph Morgan <
joseph.morgan@ignitesales.com> wrote:

> What do the client's server's Tomcat logs for that app show?
>
> -----Original Message-----
> From: Uma Maheswara Rao M [mailto:mail2mumr@gmail.com]
> Sent: Thursday, February 17, 2011 11:40 AM
> To: users@tomcat.apache.org
> Subject: 500 Internal Server Error after 5 minutes
>
> Hi ,
>
> Need help in resolving below issue. We are requesting a servlet and
that
> servlet will run for 20 min to provide the information, meanwhile
> exactly
> after 5 minutes we are getting "Internal Server Error". We are using
> apache-tomcat-6.0.26. Is there any setting which can cause this error?
> Is
> there any solution for this problem? It is happening only in client's
> environment, it is not reproducible in our environments. Please help
me
> in
> resolving this issue.
>
> Thanks & Regards,
> UmaMaheswaraRao
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: 500 Internal Server Error after 5 minutes

Posted by Uma Maheswara Rao M <ma...@gmail.com>.
No specific information in the log.


On Thu, Feb 17, 2011 at 1:10 PM, Joseph Morgan <
joseph.morgan@ignitesales.com> wrote:

> What do the client's server's Tomcat logs for that app show?
>
> -----Original Message-----
> From: Uma Maheswara Rao M [mailto:mail2mumr@gmail.com]
> Sent: Thursday, February 17, 2011 11:40 AM
> To: users@tomcat.apache.org
> Subject: 500 Internal Server Error after 5 minutes
>
> Hi ,
>
> Need help in resolving below issue. We are requesting a servlet and that
> servlet will run for 20 min to provide the information, meanwhile
> exactly
> after 5 minutes we are getting "Internal Server Error". We are using
> apache-tomcat-6.0.26. Is there any setting which can cause this error?
> Is
> there any solution for this problem? It is happening only in client's
> environment, it is not reproducible in our environments. Please help me
> in
> resolving this issue.
>
> Thanks & Regards,
> UmaMaheswaraRao
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: 500 Internal Server Error after 5 minutes

Posted by Joseph Morgan <jo...@ignitesales.com>.
What do the client's server's Tomcat logs for that app show?

-----Original Message-----
From: Uma Maheswara Rao M [mailto:mail2mumr@gmail.com] 
Sent: Thursday, February 17, 2011 11:40 AM
To: users@tomcat.apache.org
Subject: 500 Internal Server Error after 5 minutes

Hi ,

Need help in resolving below issue. We are requesting a servlet and that
servlet will run for 20 min to provide the information, meanwhile
exactly
after 5 minutes we are getting "Internal Server Error". We are using
apache-tomcat-6.0.26. Is there any setting which can cause this error?
Is
there any solution for this problem? It is happening only in client's
environment, it is not reproducible in our environments. Please help me
in
resolving this issue.

Thanks & Regards,
UmaMaheswaraRao

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: 500 Internal Server Error after 5 minutes

Posted by Uma Maheswara Rao M <ma...@gmail.com>.
Just now sent mail to check with this setting. Will let you the status.

On Thu, Feb 17, 2011 at 5:25 PM, André Warnier <aw...@ice-sa.com> wrote:

> Addendum :
> The fact that I was willing to bet on it, does not mean that this /is/ the
> problem.
> You should really look first-hand at what happens at the customer side.
> If you are not seeing that problem locally, but the customer is seeing it,
> then it may also be some intermediate agent which is introducing the problem
> (like a proxy).
>
> Also, if your customers are using Internet Explorer, it may be a good idea
> to ask them to disable the "friendly error messages" in the settings.  When
> this is selected, the error pages (possibly sent by your server or by an
> intermediate proxy) are hidden by IE, and replaced by a built-in error page
> which totally obscures what the real issue may be.
>
>
>
>
> Uma Maheswara Rao M wrote:
>
>> Thanks André Warnier
>>
>> On Thu, Feb 17, 2011 at 5:11 PM, André Warnier <aw...@ice-sa.com> wrote:
>>
>> Uma Maheswara Rao M wrote:
>>>
>>> Hi André Warnier,
>>>>
>>>> Is there any way we can control the browser timeout?
>>>>
>>>> At the browser level, none that I know of.
>>> But even if there was one, there is a basic principle on the WWW : the
>>> browser is under control of the user, so anything that you would do, the
>>> users can undo. And they will.
>>>
>>> This being said, one way to avoid this problem is to arrange for sending
>>> something from time to time from the server to the browser while your
>>> application is working. Even if it is one byte, the browser will not give
>>> up
>>> as long as it does not stay 5 minutes without receiving anything at all.
>>>
>>> The nice way of doing that is to have some kind of progress bar showing
>>> the
>>> user that something is moving.
>>> A lighter way is some message "Please wait..." with an additional dot
>>> from
>>> time to time.
>>>
>>> I do not remember how to do that, but I am sure that someone on this list
>>> will have a suggestion...
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: 500 Internal Server Error after 5 minutes

Posted by André Warnier <aw...@ice-sa.com>.
Addendum :
The fact that I was willing to bet on it, does not mean that this /is/ the problem.
You should really look first-hand at what happens at the customer side.
If you are not seeing that problem locally, but the customer is seeing it, then it may 
also be some intermediate agent which is introducing the problem (like a proxy).

Also, if your customers are using Internet Explorer, it may be a good idea to ask them to 
disable the "friendly error messages" in the settings.  When this is selected, the error 
pages (possibly sent by your server or by an intermediate proxy) are hidden by IE, and 
replaced by a built-in error page which totally obscures what the real issue may be.



Uma Maheswara Rao M wrote:
> Thanks André Warnier
> 
> On Thu, Feb 17, 2011 at 5:11 PM, André Warnier <aw...@ice-sa.com> wrote:
> 
>> Uma Maheswara Rao M wrote:
>>
>>> Hi André Warnier,
>>>
>>> Is there any way we can control the browser timeout?
>>>
>> At the browser level, none that I know of.
>> But even if there was one, there is a basic principle on the WWW : the
>> browser is under control of the user, so anything that you would do, the
>> users can undo. And they will.
>>
>> This being said, one way to avoid this problem is to arrange for sending
>> something from time to time from the server to the browser while your
>> application is working. Even if it is one byte, the browser will not give up
>> as long as it does not stay 5 minutes without receiving anything at all.
>>
>> The nice way of doing that is to have some kind of progress bar showing the
>> user that something is moving.
>> A lighter way is some message "Please wait..." with an additional dot from
>> time to time.
>>
>> I do not remember how to do that, but I am sure that someone on this list
>> will have a suggestion...
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: 500 Internal Server Error after 5 minutes

Posted by Uma Maheswara Rao M <ma...@gmail.com>.
Thanks André Warnier

On Thu, Feb 17, 2011 at 5:11 PM, André Warnier <aw...@ice-sa.com> wrote:

> Uma Maheswara Rao M wrote:
>
>> Hi André Warnier,
>>
>> Is there any way we can control the browser timeout?
>>
>
> At the browser level, none that I know of.
> But even if there was one, there is a basic principle on the WWW : the
> browser is under control of the user, so anything that you would do, the
> users can undo. And they will.
>
> This being said, one way to avoid this problem is to arrange for sending
> something from time to time from the server to the browser while your
> application is working. Even if it is one byte, the browser will not give up
> as long as it does not stay 5 minutes without receiving anything at all.
>
> The nice way of doing that is to have some kind of progress bar showing the
> user that something is moving.
> A lighter way is some message "Please wait..." with an additional dot from
> time to time.
>
> I do not remember how to do that, but I am sure that someone on this list
> will have a suggestion...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: 500 Internal Server Error after 5 minutes

Posted by André Warnier <aw...@ice-sa.com>.
Uma Maheswara Rao M wrote:
> Hi André Warnier,
> 
> Is there any way we can control the browser timeout?

At the browser level, none that I know of.
But even if there was one, there is a basic principle on the WWW : the browser is under 
control of the user, so anything that you would do, the users can undo. And they will.

This being said, one way to avoid this problem is to arrange for sending something from 
time to time from the server to the browser while your application is working. Even if it 
is one byte, the browser will not give up as long as it does not stay 5 minutes without 
receiving anything at all.

The nice way of doing that is to have some kind of progress bar showing the user that 
something is moving.
A lighter way is some message "Please wait..." with an additional dot from time to time.

I do not remember how to do that, but I am sure that someone on this list will have a 
suggestion...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: 500 Internal Server Error after 5 minutes

Posted by Uma Maheswara Rao M <ma...@gmail.com>.
Hi André Warnier,

Is there any way we can control the browser timeout?

Thanks
Mahesh

On Thu, Feb 17, 2011 at 2:28 PM, André Warnier <aw...@ice-sa.com> wrote:

> Uma Maheswara Rao M wrote:
>
>> Hi ,
>>
>> Need help in resolving below issue. We are requesting a servlet and that
>> servlet will run for 20 min to provide the information, meanwhile exactly
>> after 5 minutes we are getting "Internal Server Error".
>>
>
> I would bet that this is not really the error that the users are seeing.
> They are probably seeing something like a "This page cannot be displayed"
> in their IE browser ?
>
> And it is probably due to the fact that the application is not sending back
> anything for 5 minutes, and the browser just times out.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: 500 Internal Server Error after 5 minutes

Posted by André Warnier <aw...@ice-sa.com>.
Uma Maheswara Rao M wrote:
> Hi ,
> 
> Need help in resolving below issue. We are requesting a servlet and that
> servlet will run for 20 min to provide the information, meanwhile exactly
> after 5 minutes we are getting "Internal Server Error". 

I would bet that this is not really the error that the users are seeing.
They are probably seeing something like a "This page cannot be displayed" in their IE 
browser ?

And it is probably due to the fact that the application is not sending back anything for 5 
minutes, and the browser just times out.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org