Vote for the features you care about

2014-04-11 Thread Mark Thomas
All, The first Apache Tomcat Summit wrapped up a little over an hour ago. I'll be posting some detailed notes to the Wiki shortly but I wanted to get this message out as soon as possible. In order to gather feedback from the user community with respect to future direction, we plan to use Bugzilla

Re: Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x

2014-04-11 Thread André Warnier
Ognjen Blagojevic wrote: On 11.4.2014 10:52, André Warnier wrote: 3) if he has recorded past encrypted traffic to/from your server, and saved this recording, then he can at any time go back and decrypt this past traffic, and pick up anything interesting from there, even without having the new k

Re: Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x

2014-04-11 Thread Ognjen Blagojevic
On 11.4.2014 10:52, André Warnier wrote: 3) if he has recorded past encrypted traffic to/from your server, and saved this recording, then he can at any time go back and decrypt this past traffic, and pick up anything interesting from there, even without having the new keys. Such a recording coul

Re: 7.0.23 vs. 7.0.52 startup times

2014-04-11 Thread Shanti Suresh
Hi Konstantin, Thanks, that did it. I know Chris had mentioned that to me before as well. At that time, I did not have DEBUG logging enabled properly for all subsystems. Is there a way I can do these settings as a default in Tomcat rather than specify in each web-application's web.xml file? Tha

Re: How to monitor performance of tomcat

2014-04-11 Thread Shanti Suresh
On Fri, Apr 11, 2014 at 3:04 PM, André Warnier wrote: > Shanti Suresh wrote: > >> Hi Chris, >> >> On Fri, Apr 11, 2014 at 12:17 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> >>> Shanti, >>> >>> On 4/11/14, 9:01 AM,

Re: Tomcat 500 internal server error

2014-04-11 Thread André Warnier
Ian Long wrote: Yes, the error is coming from tomcat for sure. Tomcat is logging my application errors, but I think the 500 error is in Tomcat code. I am trying to find out why tomcat is not logging this error, it logs exceptions that happen in my code. I am no Tomcat logging nor log4j exp

Re: Tomcat 500 internal server error

2014-04-11 Thread Konstantin Kolinko
2014-04-11 21:47 GMT+04:00 Ian Long : > This is a followup to my previous email, about Tomcat 500 errors. For every > error, I see this in the mod_jk (1.2.39) debug logs: By the way: there is a couple of known errors in 1.2.39 (see changelog). A vote on 1.2.40 release candidate is currently go

Re: mod_jk and ~userdir issue

2014-04-11 Thread Doug Tucker
Sorry, I wrote that too quickly, just before packing in my laptop. It was "JkMountCopy", and you find it here : https://tomcat.apache.org/connectors-doc/reference/apache.html And since I sent you on a wrong track before, here is an explanation as an apology : When your Apache httpd server is

Re: Tomcat 500 internal server error

2014-04-11 Thread Ian Long
Yes, the error is coming from tomcat for sure.  Tomcat is logging my application errors, but I think the 500 error is in Tomcat code.  I am trying to find out why tomcat is not logging this error, it logs exceptions that happen in my code. Cheers, Ian On April 11, 2014 at 2:57:05 PM, André War

Re: How to monitor performance of tomcat

2014-04-11 Thread André Warnier
Shanti Suresh wrote: Hi Chris, On Fri, Apr 11, 2014 at 12:17 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shanti, On 4/11/14, 9:01 AM, Shanti Suresh wrote: Thank you! Great presentation and most wonderful notes! One questio

Re: Tomcat 500 internal server error

2014-04-11 Thread André Warnier
Ian Long wrote: This is a followup to my previous email, about Tomcat 500 errors. For every error, I see this in the mod_jk (1.2.39) debug logs: [Fri Apr 11 13:06:33.956 2014] [25409:140068250126304] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1403): received from ajp13 pos=0 l

Re: How to monitor performance of tomcat

2014-04-11 Thread Shanti Suresh
Hi Chris, On Fri, Apr 11, 2014 at 12:17 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Shanti, > > On 4/11/14, 9:01 AM, Shanti Suresh wrote: > > Thank you! Great presentation and most wonderful notes! One > > question - on

Re: mod_jk and ~userdir issue

2014-04-11 Thread André Warnier
Doug Tucker wrote: He means : read on about the "JkCopy*" directives under Apache httpd. Thank you. I don't see this directive anywhere, and search google for JkCopy apache or JkCopy tomcat both return zero results? Sorry, I wrote that too quickly, just before packing in my laptop. It

Tomcat 500 internal server error

2014-04-11 Thread Ian Long
This is a followup to my previous email, about Tomcat 500 errors.  For every error, I see this in the mod_jk (1.2.39) debug logs: [Fri Apr 11 13:06:33.956 2014] [25409:140068250126304] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1403): received from ajp13 pos=0 len=114 max=16384 [

Random Tomcat 500 errors

2014-04-11 Thread Ian Long
Hi,  I’m running into a problem with my production tomcats (7.0.52)  that I can’t track down. Occasionally (10 times an hour maybe) I’m getting a HttpServerError 500 error that isn’t appearing in tomcat or my application logs. I see it from my NewRelic monitoring agent though, which is how I re

Re: mod_jk and ~userdir issue

2014-04-11 Thread Doug Tucker
He means : read on about the "JkCopy*" directives under Apache httpd. Thank you. I don't see this directive anywhere, and search google for JkCopy apache or JkCopy tomcat both return zero results? - To unsubscribe, e-mai

Re: How to monitor performance of tomcat

2014-04-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shanti, On 4/11/14, 9:01 AM, Shanti Suresh wrote: > Thank you! Great presentation and most wonderful notes! One > question - on slide #48, where the notes say, "You can see here > that the current usage is about 100MiB, less than the 115MiB > thre

Re: Maximum number of JSP ?

2014-04-11 Thread Leo Donahue
On Fri, Apr 11, 2014 at 8:52 AM, Sylvain Goulmy wrote: > > 4. Here is the behaviour that i observed : i request the URL of a jsp in a > loop. The content of this JSP is always the same but it's name is different > in each URL so that it is considered as a new one. > Can you post the contents of

Re: How to monitor performance of tomcat

2014-04-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeff, On 4/11/14, 8:20 AM, Jeffrey Janner wrote: >> -Original Message- From: Christopher Schultz >> [mailto:ch...@christopherschultz.net] Sent: Friday, April 11, >> 2014 12:54 AM To: Tomcat Users List Subject: Re: How to monitor >> performan

Re: Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x

2014-04-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/11/14, 2:52 AM, André Warnier wrote: > As I understand it, the real bitch about this bug, is that *during > the whole period in which your server was vulnerable* , a > knowledgeable attacker would have been able to connect to your > serv

Re: mod_jk and ~userdir issue

2014-04-11 Thread André Warnier
Doug Tucker wrote: 1. Check whether their pages are accessible when you connect to Tomcat directly without HTTPD. Negative. Either way I get the tomcat "container is not available". You can see the error by going to: http://webdev2.seas.smu.edu/~tuckerd/ The server.xml looks OK. I am not

Re: Maximum number of JSP ?

2014-04-11 Thread Sylvain Goulmy
Hi, Thank you all for your returns. Maybe also, just to give us an idea, you could tell us how much memory that > system has, and how much is given to use by Tomcat ? Xmx is 1500 Mo. The PermSize is set so that it can easily load the max number of JSP set with the maxLoadedJsp (set to 5000) par

Re: Maximum number of JSP ?

2014-04-11 Thread Robert Klemme
On Fri, Apr 11, 2014 at 5:35 PM, Mikolaj Rydzewski wrote: > On 11.04.2014 17:22, Robert Klemme wrote: > >> JSP _is_ a templating mechnism. In what way do you expect another >> templating mechanism to help here? All the strings (among other stuff) >> need to be stored somewhere in memory anyway. >

Re: Maximum number of JSP ?

2014-04-11 Thread Mikolaj Rydzewski
On 11.04.2014 17:22, Robert Klemme wrote: JSP _is_ a templating mechnism. In what way do you expect another templating mechanism to help here? All the strings (among other stuff) need to be stored somewhere in memory anyway. Well, IMHO JSP is not only a templating mechanism. It's also a compil

Re: Maximum number of JSP ?

2014-04-11 Thread Robert Klemme
On Fri, Apr 11, 2014 at 3:41 PM, Mikolaj Rydzewski wrote: > On 11.04.2014 15:31, André Warnier wrote: > >> As far as I first understand such things, each of these JSP's gets >> compiled into a servlet, and the code of that servlet is held in >> memory for an extended period of time, even if unused

Re: Maximum number of JSP ?

2014-04-11 Thread Leo Donahue
On Fri, Apr 11, 2014 at 6:46 AM, Dutta, Abhishek < abhishek.du...@capgemini.com> wrote: > Hi, > > I am not very sure . But I guess If we consider the servlet lifecycle the > servlet is not supposed to get instantiated until requested for . > > The question is, do the JSP pages contain static text

Re: mod_jk and ~userdir issue

2014-04-11 Thread Doug Tucker
1. Check whether their pages are accessible when you connect to Tomcat directly without HTTPD. Negative. Either way I get the tomcat "container is not available". You can see the error by going to: http://webdev2.seas.smu.edu/~tuckerd/ The server.xml looks OK. I am not sure that your mod_

Re: How to monitor performance of tomcat

2014-04-11 Thread Shanti Suresh
Hi Chris, On Fri, Apr 11, 2014 at 10:48 AM, André Warnier wrote: > > > On 4/8/14, 5:24 PM, Christopher Schultz wrote: > http://people.apache.org/~schultz/ApacheCon%20NA%202014/Monitoring > %20Apache%20Tomcat%20wi

Re: mod_jk and ~userdir issue

2014-04-11 Thread Konstantin Kolinko
2014-04-11 18:33 GMT+04:00 Doug Tucker : > Greetings! I'm hopeful someone can help me here. I used to have this > running under tomcat 5.5/apache2.2 but have installed a centos6 with the > packaged tomcat6/apache2.2. I installed the latest mod_jk connector. All > is working great except the who

Re: mod_jk and ~userdir issue

2014-04-11 Thread Doug Tucker
Ooops, I copied the wrong workers.properties file. Here is the correct one worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.lbfactor=1 Sincerely, Doug Tucker On 04/11/2014 09:33 AM, Doug Tucker wrote: Greetings! I'm hopeful so

Re: How to monitor performance of tomcat

2014-04-11 Thread André Warnier
Jeffrey Janner wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, April 11, 2014 9:27 AM To: Tomcat Users List Subject: Re: How to monitor performance of tomcat Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@chr

Re: Maximum number of JSP ?

2014-04-11 Thread Konstantin Kolinko
2014-04-11 16:58 GMT+04:00 Sylvain Goulmy : > Hi, > > I'm facing performance issue with my application which loads a very large > number of different JSPs (ie 16 000). As the application loads the > different JSP, the response time becomes longer and the CPU increases. > > I have tried many configu

mod_jk and ~userdir issue

2014-04-11 Thread Doug Tucker
Greetings! I'm hopeful someone can help me here. I used to have this running under tomcat 5.5/apache2.2 but have installed a centos6 with the packaged tomcat6/apache2.2. I installed the latest mod_jk connector. All is working great except the whole reason I set it up in the first place. I

RE: How to monitor performance of tomcat

2014-04-11 Thread Jeffrey Janner
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Friday, April 11, 2014 9:27 AM > To: Tomcat Users List > Subject: Re: How to monitor performance of tomcat > > Jeffrey Janner wrote: > >> -Original Message- > >> From: Christopher Schultz [mailto:ch...@chri

Re: How to monitor performance of tomcat

2014-04-11 Thread André Warnier
Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, April 11, 2014 12:54 AM To: Tomcat Users List Subject: Re: How to monitor performance of tomcat All, On 4/8/14, 5:24 PM, Christopher Schultz wrote: Randir, On 4/8/14,

RE: How to monitor performance of tomcat

2014-04-11 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, April 11, 2014 12:54 AM > To: Tomcat Users List > Subject: Re: How to monitor performance of tomcat > > All, > > On 4/8/14, 5:24 PM, Christopher Schultz wrote: > > Randir, > > > > On 4/8

Re: Maximum number of JSP ?

2014-04-11 Thread André Warnier
> Any suggestions/remarks ? Yes, don't top-post. So I'll move you, to show you how it's done here. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, April 11, 2014 7:01 PM To: Tomcat Users List Subject: Re: Maximum number of JSP ? Sylvain Goulmy wrote: H

Re: Maximum number of JSP ?

2014-04-11 Thread Mikolaj Rydzewski
On 11.04.2014 15:31, André Warnier wrote: As far as I first understand such things, each of these JSP's gets compiled into a servlet, and the code of that servlet is held in memory for an extended period of time, even if unused at any particular moment. So this is 16000 servlets probably coexist

RE: Maximum number of JSP ?

2014-04-11 Thread Dutta, Abhishek
Hi, I am not very sure . But I guess If we consider the servlet lifecycle the servlet is not supposed to get instantiated until requested for . So even if the transformation and compilation is done actual existence of unsed objects may not be the reason . So I am little bit skeptical about 1600

Re: Maximum number of JSP ?

2014-04-11 Thread André Warnier
Sylvain Goulmy wrote: Hi, I'm facing performance issue with my application which loads a very large number of different JSPs (ie 16 000). As the application loads the different JSP, the response time becomes longer and the CPU increases. I have tried many configurations by modifying the maxLoad

Maximum number of JSP ?

2014-04-11 Thread Sylvain Goulmy
Hi, I'm facing performance issue with my application which loads a very large number of different JSPs (ie 16 000). As the application loads the different JSP, the response time becomes longer and the CPU increases. I have tried many configurations by modifying the maxLoadedJsp, PermgenSize, jspI

HTTP requests held up during Tomcat shutdown

2014-04-11 Thread andrey eng
Hello, I am having an issue with Tomcat shutdown. Requests arriving while the servlet container is shutting down seem to be held up by the connector until container shutdown finishes. The shutdown sequence appears to be: (1) pause connectors, (2) stop containers, (3) stop connectors. I have notice

Re: Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x

2014-04-11 Thread André Warnier
Just for the sake of clarity, I will redundantly highlight some parts of Christopher's recent message : Christopher Schultz wrote: ... * If you are on 1.1.24-1.1.29, then you have been vulnerable. * ... I can't stress enough that once you update to a fixed version, *you must re-key your server