You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Antony Paul <an...@gmail.com> on 2005/02/18 05:55:40 UTC
Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged
You can try modifiying the maxProcessors in the connector element in
conf/server.xml to a higher value to test whether increasing no of
threads solve the problem.
Post Tomcat , Java VM and OS versions.
rgds
Antony Paul
On Fri, 18 Feb 2005 10:14:15 +0530, Reshma Bhatia
<re...@patni.com> wrote:
>
>
> -----Original Message-----
> From: Reshma Bhatia [mailto:reshma.bhatia@patni.com]
> Sent: Thursday, February 17, 2005 7:36 PM
> To: 'tomcat-user-subscribe@jakarta.apache.org'
> Subject: Please help for a query in Tomcat. - Problem : Tomcat gets hanged
>
> Hi,
>
> We have designed an application which works in Java JSP - Tomcat - Oracle
> environment.
>
> Our JSP page has two frames.
> 1). First frame : This is the top frame containing links (displayed as Tabs)
> 2). Second Frame : This is below the top frame and is updated with the
> selected link.
>
> For each click on the link a request is submitted and the response is
> populated in the second frame.
> The second frame contains a search criteria and fetches data from the
> database.
>
> Conditions when Tomcat hangs
> 1). When we try clicking on the links very fast
> 2). While the data is being fetched from the database and manipulated and if
> we click on other the links the server gets hang.
>
> Our analysis and understanding is :
> There would be some threads (requests) whose output was not allowed to be
> displayed in the second frame due to click on other links which would spawn
> another request for the same target.
> These requests remain in "Service" state as understood from the
> Tomcat-Manager status.
> Also, as per the information given on the link
> http://forum.java.sun.com/thread.jspa?threadID=454684&messageID=2072194
> these requests would "always" remain in Service State.
>
> Please confirm whether our understanding is correct.
> Please provide a solution to this problem? Let us know in case any further
> information is needed.
>
> Thanks and regards,
> Reshma
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail.
> _____________________________________________________________________
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged
Posted by Antony Paul <an...@gmail.com>.
To best of my knowledge you can't. Even if you shutdown Tomcat it will
wait till the threads finish their work.
rgds
Antony Paul
On Fri, 18 Feb 2005 11:41:04 +0530, Reshma Bhatia
<re...@patni.com> wrote:
> Is there a way to kill the Tomcat threads which have gone into infinite loop
> / hang state.
>
> -----Original Message-----
> From: Antony Paul [mailto:antonypaul24@gmail.com]
> Sent: Friday, February 18, 2005 10:26 AM
> To: Tomcat Users List; reshma.bhatia@patni.com
> Subject: Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets
> hanged
>
> You can try modifiying the maxProcessors in the connector element in
> conf/server.xml to a higher value to test whether increasing no of
> threads solve the problem.
>
> Post Tomcat , Java VM and OS versions.
>
> rgds
> Antony Paul
>
> On Fri, 18 Feb 2005 10:14:15 +0530, Reshma Bhatia
> <re...@patni.com> wrote:
> >
> >
> > -----Original Message-----
> > From: Reshma Bhatia [mailto:reshma.bhatia@patni.com]
> > Sent: Thursday, February 17, 2005 7:36 PM
> > To: 'tomcat-user-subscribe@jakarta.apache.org'
> > Subject: Please help for a query in Tomcat. - Problem : Tomcat gets
> hanged
> >
> > Hi,
> >
> > We have designed an application which works in Java JSP - Tomcat - Oracle
> > environment.
> >
> > Our JSP page has two frames.
> > 1). First frame : This is the top frame containing links (displayed as
> Tabs)
> > 2). Second Frame : This is below the top frame and is updated with the
> > selected link.
> >
> > For each click on the link a request is submitted and the response is
> > populated in the second frame.
> > The second frame contains a search criteria and fetches data from the
> > database.
> >
> > Conditions when Tomcat hangs
> > 1). When we try clicking on the links very fast
> > 2). While the data is being fetched from the database and manipulated and
> if
> > we click on other the links the server gets hang.
> >
> > Our analysis and understanding is :
> > There would be some threads (requests) whose output was not allowed to be
> > displayed in the second frame due to click on other links which would
> spawn
> > another request for the same target.
> > These requests remain in "Service" state as understood from the
> > Tomcat-Manager status.
> > Also, as per the information given on the link
> > http://forum.java.sun.com/thread.jspa?threadID=454684&messageID=2072194
> > these requests would "always" remain in Service State.
> >
> > Please confirm whether our understanding is correct.
> > Please provide a solution to this problem? Let us know in case any further
> > information is needed.
> >
> > Thanks and regards,
> > Reshma
> >
> > http://www.patni.com
> > World-Wide Partnerships. World-Class Solutions.
> > _____________________________________________________________________
> >
> > This e-mail message may contain proprietary, confidential or legally
> > privileged information for the sole use of the person or entity to
> > whom this message was originally addressed. Any review, e-transmission
> > dissemination or other use of or taking of any action in reliance upon
> > this information by persons or entities other than the intended
> > recipient is prohibited. If you have received this e-mail in error
> > kindly delete this e-mail from your records. If it appears that this
> > mail has been forwarded to you without proper authority, please notify
> > us immediately at netadmin@patni.com and delete this mail.
> > _____________________________________________________________________
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail.
> _____________________________________________________________________
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged
Posted by Reshma Bhatia <re...@patni.com>.
Is there a way to kill the Tomcat threads which have gone into infinite loop
/ hang state.
-----Original Message-----
From: Antony Paul [mailto:antonypaul24@gmail.com]
Sent: Friday, February 18, 2005 10:26 AM
To: Tomcat Users List; reshma.bhatia@patni.com
Subject: Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets
hanged
You can try modifiying the maxProcessors in the connector element in
conf/server.xml to a higher value to test whether increasing no of
threads solve the problem.
Post Tomcat , Java VM and OS versions.
rgds
Antony Paul
On Fri, 18 Feb 2005 10:14:15 +0530, Reshma Bhatia
<re...@patni.com> wrote:
>
>
> -----Original Message-----
> From: Reshma Bhatia [mailto:reshma.bhatia@patni.com]
> Sent: Thursday, February 17, 2005 7:36 PM
> To: 'tomcat-user-subscribe@jakarta.apache.org'
> Subject: Please help for a query in Tomcat. - Problem : Tomcat gets
hanged
>
> Hi,
>
> We have designed an application which works in Java JSP - Tomcat - Oracle
> environment.
>
> Our JSP page has two frames.
> 1). First frame : This is the top frame containing links (displayed as
Tabs)
> 2). Second Frame : This is below the top frame and is updated with the
> selected link.
>
> For each click on the link a request is submitted and the response is
> populated in the second frame.
> The second frame contains a search criteria and fetches data from the
> database.
>
> Conditions when Tomcat hangs
> 1). When we try clicking on the links very fast
> 2). While the data is being fetched from the database and manipulated and
if
> we click on other the links the server gets hang.
>
> Our analysis and understanding is :
> There would be some threads (requests) whose output was not allowed to be
> displayed in the second frame due to click on other links which would
spawn
> another request for the same target.
> These requests remain in "Service" state as understood from the
> Tomcat-Manager status.
> Also, as per the information given on the link
> http://forum.java.sun.com/thread.jspa?threadID=454684&messageID=2072194
> these requests would "always" remain in Service State.
>
> Please confirm whether our understanding is correct.
> Please provide a solution to this problem? Let us know in case any further
> information is needed.
>
> Thanks and regards,
> Reshma
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail.
> _____________________________________________________________________
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail.
_____________________________________________________________________