Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 4/22/15 10:53 AM, Frederik Nosi wrote: Hi, On 04/22/2015 04:35 PM, Christopher Schultz wrote: Neill, On 4/22/15 9:12 AM, Neill Lima wrote: If I am not wrong, if the application in question is monitored in VisualVM through JMX

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Neill Lima
Hi Andre, If I am not wrong, if the application in question is monitored in VisualVM through JMX (https://visualvm.java.net/) you could trigger a Force GC from its monitoring console. In order to do that, these startup params might be necessary in the Java app side :

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread André Warnier
Rainer Jung wrote: Am 22.04.2015 um 11:58 schrieb Thomas Boniface: What concerns me the most is the CLOSE_WAIT on tomcat side because when an fd peak appears the web application appears to be stuck. It feels like all its connections are consumed and none can be established from nginx anymore.

Re: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Razi, On 4/21/15 5:18 PM, Razi wrote: Another bit of information I wanted to add. The apache error log is peppered with the following line : OpenSSL : I/O error, 5 bytes expected to read on BIO#... Are those errors correlated with the

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Neill Lima
Hello Christopher S., I know it won't. I just wanted to provide insight into Andre W.'s approach. Thanks, Neill On Wed, Apr 22, 2015 at 4:58 PM, André Warnier a...@ice-sa.com wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neill, On 4/22/15 9:12 AM,

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Frederik Nosi
On 04/22/2015 05:15 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 4/22/15 10:53 AM, Frederik Nosi wrote: Hi, On 04/22/2015 04:35 PM, Christopher Schultz wrote: Neill, On 4/22/15 9:12 AM, Neill Lima wrote: If I am not wrong, if the application in

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Frederik Nosi
Hi, On 04/22/2015 04:35 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neill, On 4/22/15 9:12 AM, Neill Lima wrote: If I am not wrong, if the application in question is monitored in VisualVM through JMX (https://visualvm.java.net/) you could trigger a Force GC

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neill, On 4/22/15 9:12 AM, Neill Lima wrote: If I am not wrong, if the application in question is monitored in VisualVM through JMX (https://visualvm.java.net/) you could trigger a Force GC from its monitoring console.

Re: Getting Apache 2.2.29 to work with tomcat 8.0.21 using mod_jk 1.2.40 on a mac

2015-04-22 Thread Mayuresh
Thanks a lot *Neven *and* Rainer*!! That was my problem!! I changed the worker port to 8009 and everything is good. Thanks for your help!! On Wed, Apr 22, 2015 at 4:46 AM, Rainer Jung rainer.j...@kippdata.de wrote: Am 22.04.2015 um 11:33 schrieb Mayuresh: Hi Gurus, i am trying to make this

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neill, On 4/22/15 9:12 AM, Neill Lima wrote: If I am not wrong, if the application in question is monitored in VisualVM through JMX (https://visualvm.java.net/) you could trigger a Force GC from its monitoring console. You can do this, but it

Re: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Razi, On 4/22/15 6:39 PM, Razi Ansari wrote: Original message From: Christopher Schultz ch...@christopherschultz.net Date: 04/23/2015 6:15 AM (GMT+08:00) To: Tomcat Users List users@tomcat.apache.org Subject: Re: Apache

Re: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Razi
Christopher, When KeepAliveTimeOut is 5, 12 , I get the error, when its 15 and above I don't get the error. The versions of Apahce and Mod_jk are as follows Apache 2.2.24 Mod_jk 1.2.37 I dont use Tomcat, my applicaton server is JBOSS EAP 6.1.0 I will get back to you with more logs. Thanks

RE: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Razi Ansari
Please check inline for my reply . Thanks. Original message From: Christopher Schultz ch...@christopherschultz.net Date: 04/23/2015 6:15 AM (GMT+08:00) To: Tomcat Users List users@tomcat.apache.org Subject: Re: Apache Tomcat jk connector 400 bad request -BEGIN PGP

Info: WebSocket connection closed, Code: 1006 when try to run websocket sample

2015-04-22 Thread Thusitha Thilina Dayaratne
Hi, I've embedded tomcat 8.0.20 and using that. I build the tomcat websocket example and when I'm trying to run it in my server for all 4 examples (Echo, chat, etc..) I'm getting Info: WebSocket connection closed, Code: 1006 In the console it prints WebSocket connection to 'ws://

Re: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Razi
Hi Christopher, Thanks for looking into this. Any random request fails, ajax or non-ajax. The worker.properties is as follows:: worker.lbroutex.type=lb worker.lbroutex.balance_workers=workerx,workery,workerz worker.lbroute.sticky_session=1 worker.workerX.port=1234 worker.workerX.host=$$$.com

Re: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Razi, On 4/22/15 5:45 PM, Razi wrote: Hi Christopher, Thanks for looking into this. Any random request fails, ajax or non-ajax. The worker.properties is as follows:: worker.lbroutex.type=lb

Re: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Marcos Almeida Azevedo
On Wed, Apr 22, 2015 at 5:18 AM, Razi razi...@hotmail.com wrote: hi there, Another bit of information I wanted to add. The apache error log is peppered with the following line : OpenSSL : I/O error, 5 bytes expected to read on BIO#... Warm Regards Razi A. Ansari From: Razi Sent:

RE: Apache Tomcat jk connector 400 bad request

2015-04-22 Thread Razi Ansari
Hi Marcos Thanks for the comment. I am using apache to serve static content and it works well. Its just these random requests that fail with 400. I am trying out using a slightly higher value of the KeepAliveTimeout. I wanted to get some advise from the experts in this forum . Thanks.

Re: Problem with SimpleTcpCluster and nodes temporarily dropping out of cluster

2015-04-22 Thread Linus Brimstedt
Hi! Thanks for your reply! We have evaluated backupmanager and it does indeed seem to solve the issue! br /Linus On 8 April 2015 at 12:30, Mark Thomas ma...@apache.org wrote: On 07/04/2015 21:46, Linus Brimstedt wrote: Hello, We have a problem with SimpleTcpCluster and session

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 00:08 schrieb André Warnier: ... The OP has a complex setup, where we are not even sure that the various connections in various states are even related directly to Tomcat or not. Graphically, we have this : client -- TCP -- nginx -- TCP -- Tomcat -- webapp -- TCP -- external

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread André Warnier
Rainer Jung wrote: Am 22.04.2015 um 00:08 schrieb André Warnier: ... The OP has a complex setup, where we are not even sure that the various connections in various states are even related directly to Tomcat or not. Graphically, we have this : client -- TCP -- nginx -- TCP -- Tomcat -- webapp

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Thomas Boniface
What concerns me the most is the CLOSE_WAIT on tomcat side because when an fd peak appears the web application appears to be stuck. It feels like all its connections are consumed and none can be established from nginx anymore. Shouldn't the CLOSE_WAIT connection be recycled to received new

Re: Getting Apache 2.2.29 to work with tomcat 8.0.21 using mod_jk 1.2.40 on a mac

2015-04-22 Thread Neven Cvetkovic
Hey Mayuresh, On Wed, Apr 22, 2015 at 5:33 AM, Mayuresh mayuresh.kshirsa...@gmail.com wrote: Hi Gurus, i am trying to make this combination and am stumbled at a place. After a lot of searching and experimenting I finally decided to post this question here. Welcome to the mailing list!

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 11:38 schrieb André Warnier: Rainer Jung wrote: See my response from 1.5 days ago which contains the individual statistics for each of the above three TCP parts. Yes, sorry Rainer, I did not read that as carefully as I should have. No worries at all. Lots of stuff going

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 11:58 schrieb Thomas Boniface: What concerns me the most is the CLOSE_WAIT on tomcat side because when an fd peak appears the web application appears to be stuck. It feels like all its connections are consumed and none can be established from nginx anymore. Shouldn't the

Re: Getting Apache 2.2.29 to work with tomcat 8.0.21 using mod_jk 1.2.40 on a mac

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 11:33 schrieb Mayuresh: Hi Gurus, i am trying to make this combination and am stumbled at a place. After a lot of searching and experimenting I finally decided to post this question here. I am trying to load a page which loads just fine directly on tomcat. However if I try to

Getting Apache 2.2.29 to work with tomcat 8.0.21 using mod_jk 1.2.40 on a mac

2015-04-22 Thread Mayuresh
Hi Gurus, i am trying to make this combination and am stumbled at a place. After a lot of searching and experimenting I finally decided to post this question here. I am trying to load a page which loads just fine directly on tomcat. However if I try to load it through the Apache web server, it