Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
Hi folks, there's now a follow-up on the issue [1]. Recap: JreMemoryLeakPreventionListener reported that my webapp has spawned OracleTimeoutPollingThread because I have set a QueryTimeout in the JDBC Pool. Mark Thomas noted that this is likely a bug in the driver. I have taken action and

How to set the timeout for context initializing/startup

2013-05-17 Thread Sven Schönfeldt
Hi Tomcat-Users I have found no information in the documentation, to configure the timeout for initializing/startup a context. there is the possibility? and if, how to configure? Regards, Sven - To unsubscribe, e-mail:

Re: How to set the timeout for context initializing/startup

2013-05-17 Thread André Warnier
Sven Schönfeldt wrote: Hi Tomcat-Users I have found no information in the documentation, to configure the timeout for initializing/startup a context. there is the possibility? and if, how to configure? If I remember correctly, this question came up already in the last couple of days, and was

Maximum instances in Tomcat cluster

2013-05-17 Thread Soumya Chatterjee
Hi, I am using Apache Tomcat (version: 6.0.35) with horizontal clustering (static membership) for hosting my web application. I want to know if there is any upper limit of instances that Tomcat supports in order to maintain its optimum performance. (I searched the Tomcat clustering documentation

Re: Tomcat hangs every day

2013-05-17 Thread Christian Kaltepoth
Seems like you have a class called SearchClientRemoteClient which uses HTTPClient. Many threads seems to wait for remote responses. I guess you don't set any timeouts for the HTTPClient and therefore many threads hang in HttpClient.executeMethod() forever. You should ALWAYS set timeouts when using

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Mark Thomas
On 17/05/2013 09:28, Michael-O wrote: Hi folks, there's now a follow-up on the issue [1]. Recap: JreMemoryLeakPreventionListener reported that my webapp has spawned OracleTimeoutPollingThread because I have set a QueryTimeout in the JDBC Pool. Mark Thomas noted that this is likely a bug in

Re: Maximum instances in Tomcat cluster

2013-05-17 Thread Mark Thomas
On 17/05/2013 10:08, Soumya Chatterjee wrote: Hi, I am using Apache Tomcat (version: 6.0.35) with horizontal clustering (static membership) for hosting my web application. I want to know if there is any upper limit of instances that Tomcat supports in order to maintain its optimum

Re: IOException from the response during an async request

2013-05-17 Thread Mark Thomas
On 15/05/2013 20:35, Rossen Stoyanchev wrote: Mark, While there is no response on the Servlet spec list, I have some follow-up questions: If you call complete() you'll end up with an IllegalStateException when the error handler kicks in. You have to use dispatch(). The error handle kicks

Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-17 Thread Chirag Dewan
Hi All, I have upgraded my application from Embedded Tomcat 6 to Embedded Tomcat 7. With Tomcat 6, I was getting around 7 Transactions per sec with a simple HTTP service,which sets the HTTPResponse and returns it. Now with Tomcat 7,I am getting 54000 transactions per sec. Going through

Re: Tomcat hangs every day

2013-05-17 Thread Sascha Troll
Christian, thanks for this. Can you give me a hint. I am just the server guy, so I can tell the developer. Thanks a lot ! Sascha From: Christian Kaltepoth christ...@kaltepoth.de To: Tomcat Users List users@tomcat.apache.org Date: 17.05.2013 11:24 Subject:Re: Tomcat hangs

Re: Tomcat hangs every day

2013-05-17 Thread Christian Kaltepoth
Hey, I'm also not an expert for HttpClient, but when creating connections to remote services it is usually a good idea to set connection timeouts and socket timeouts so that the client doesn't block forever if there are problems with the connection. Exactly this seems to be the problem in your

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-17 Thread Mark Thomas
On 17/05/2013 11:51, Chirag Dewan wrote: Hi All, I have upgraded my application from Embedded Tomcat 6 to Embedded Tomcat 7. With Tomcat 6, I was getting around 7 Transactions per sec with a simple HTTP service,which sets the HTTPResponse and returns it. Now with Tomcat 7,I am

Re: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
Hi Mark, thanks again for the detailed answer, details inline. Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr Von: Mark Thomas ma...@apache.org An: Tomcat Users List users@tomcat.apache.org Betreff: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-17 Thread Chirag Dewan
I am comparing tomcat 6.0.18 with tomcat 7.0.30. Would adding NIO or APR connector help? Currently I am using default(BIO) connector. Thanks. Sent from Yahoo! Mail on Android

R: Tomcat hangs every day

2013-05-17 Thread Paolo Botta
Sorry for the question, but if I set the timeout on the HttpClient I force the client to close the connection after the timeout, but have I informed the server that there is a timeout, so the server close the connection after the timeout? I mean HttpClient tells to the server about the timeout?

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Mark Thomas
On 17/05/2013 12:31, Michael-O wrote: Hi Mark, thanks again for the detailed answer, details inline. Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr Von: Mark Thomas ma...@apache.org An: Tomcat Users List users@tomcat.apache.org Betreff: Re: Follow-up: Possible false-postive with

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-17 Thread Chirag Dewan
Another important factor is the CPU utilization.  Earlier for same trans/sec it was 40% now its close to 80%. And yes,the OS,JVM and memory setting are unchanged. Thanks. Sent from Yahoo! Mail on Android

Re: Tomcat hangs every day

2013-05-17 Thread Howard W. Smith, Jr.
I don't use HttpClient, directly, but if I'm not mistaking, javax.mail.jar (JavaMail) and Google Calendar API uses HttpClient, and I use JavaMail and Google Calendar API, directly, in my app. Google Calendar API seemed to always close their connections and I have even experienced downtime (host

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-17 Thread Mark Thomas
On 17/05/2013 13:29, Chirag Dewan wrote: Another important factor is the CPU utilization. Earlier for same trans/sec it was 40% now its close to 80%. I'd upgrade to the latest 7.0.39 but otherwise, definitely time for a profiler. If you want raw performance on kept-alive connections then BIO

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-17 Thread Chirag Dewan
I am running it on Solaris x86 server. I haven't even changed my code much. Let me add a profiler,will post the results. Thanks. Sent from Yahoo! Mail on Android

Aw: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
Gesendet: Freitag, 17. Mai 2013 um 14:26 Uhr Von: Mark Thomas ma...@apache.org On 17/05/2013 12:31, Michael-O wrote: Hi Mark, thanks again for the detailed answer, details inline. Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr Von: Mark Thomas ma...@apache.org An: Tomcat Users

Apache Tomcat service has been shutting down/stopping randomly.

2013-05-17 Thread James Snider
Hi, I have installed Tomcat 7 on a 64 bit server running Windows 2003 R2 a few weeks ago. Since then, the Apache Tomcat service has been shutting down/stopping randomly. When the service stops a hr_err_(pid#).log file is generated in the home directory. The contents of this I have pasted

RE: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Jeffrey Janner
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, May 17, 2013 7:26 AM To: Tomcat Users List Subject: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread On 17/05/2013 12:31,

Re: Running Thrift Server inside Tomcat.

2013-05-17 Thread Denuwanthi Hasanthika
Hi, Thanks. It worked when followed those steps. -Denuwanthi On Fri, May 17, 2013 at 9:17 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Isuru, On 5/16/13 10:36 AM, Isuru Ranawaka wrote: hi, Did you try to start

Aw: RE: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, May 17, 2013 7:26 AM To: Tomcat Users List Subject: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread On 17/05/2013

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Mark Thomas
On 17/05/2013 15:34, Jeffrey Janner wrote: Michael and Mark - I happened to be reviewing how Oracle handles QueryTimeout yesterday on an unrelated issue and came across a passage in the JDBC Developers Guide (11g) that covered this Monitoring Thread (page E-3). My reading of it was that

Re: ErrorReportValve's char encoding ignored

2013-05-17 Thread Michael-O
Am 2013-05-15 16:35, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Micheal, On 5/15/13 3:46 AM, Michael-O wrote: I have modified the ErrorReportValve's messages outside of the one-byte range and the output got mangled. The response does not contain a char

Re: Apache Tomcat service has been shutting down/stopping randomly.

2013-05-17 Thread Daniel Mikusa
On May 17, 2013, at 4:07 PM, James Snider wrote: From: James Snider Sent: Friday, May 17, 2013 10:21 AM To: 'users@tomcat.apache.org' Subject: Apache Tomcat service has been shutting down/stopping randomly. Hi, I have installed Tomcat 7 What's the exact version that you have

RE: Apache Tomcat service has been shutting down/stopping randomly.

2013-05-17 Thread James Snider
Hi Dan, To answer your questions below: 1. What's the exact version that you have installed? 7.0.40 2. Again, signs that you are running Tomcat 5.5 and not Tomcat 7. Can you explain further? The change in the path from the default C:\Program Files\Apache Software