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 [EMAIL PROTECTED] wrote: -Original Message- From: Reshma Bhatia [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 7:36 PM To: '[EMAIL PROTECTED]' 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=454684messageID=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 [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged
Is there a way to kill the Tomcat threads which have gone into infinite loop / hang state. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 10:26 AM To: Tomcat Users List; [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote: -Original Message- From: Reshma Bhatia [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 7:36 PM To: '[EMAIL PROTECTED]' 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=454684messageID=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 [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged
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 [EMAIL PROTECTED] wrote: Is there a way to kill the Tomcat threads which have gone into infinite loop / hang state. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 10:26 AM To: Tomcat Users List; [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote: -Original Message- From: Reshma Bhatia [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 7:36 PM To: '[EMAIL PROTECTED]' 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=454684messageID=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 [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged
From: Antony Paul [mailto:[EMAIL PROTECTED] Subject: Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged To best of my knowledge you can't. Even if you shutdown Tomcat it will wait till the threads finish their work. Not quite true. You can use the kill command on UNIX/Linux to terminate the process, or in Windows, CTRL-c to stop the .bat file, or the Services console to stop the service, or Task Manager to terminate almost anything. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]