Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Pïd stèr
On 16 Apr 2013, at 06:35, Techienote com techienote@gmail.com wrote: Hi Team, Recently I am seeing concurrent mode failure errors in my Verbose GC logs. For the same I have set NewSize to 512MB, still I am seeing concurrent mode failure in the Verbose GC logs Where have you set these

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Techienote com
On Tue, Apr 16, 2013 at 12:33 PM, Pïd stèr p...@pidster.com wrote: On 16 Apr 2013, at 06:35, Techienote com techienote@gmail.com wrote: Hi Team, Recently I am seeing concurrent mode failure errors in my Verbose GC logs. For the same I have set NewSize to 512MB, still I am seeing

AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-04-16 Thread David Kumar
Hi all, I just want to give you an update about my problem THANKS TO ALL Felix gave me the final hint... I really had some connection not given back to the pool, so the connections kept open.. - :-( I thought I checked that. Since I fixed that and use removeAbandoned there was no

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread André Warnier
Techienote com wrote: On Tue, Apr 16, 2013 at 12:33 PM, Pïd stèr p...@pidster.com wrote: On 16 Apr 2013, at 06:35, Techienote com techienote@gmail.com wrote: Hi Team, Recently I am seeing concurrent mode failure errors in my Verbose GC logs. For the same I have set NewSize to 512MB,

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread David kerber
On 4/16/2013 5:30 AM, André Warnier wrote: ... Premature optimization is the root of all evil http://en.wikiquote.org/wiki/Donald_Knuth No doubt; I learned that one long ago. Get it working correctly first, and only then start trying to optimize pieces that aren't working well enough.

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Howard W. Smith, Jr.
On Tue, Apr 16, 2013 at 7:11 AM, David kerber dcker...@verizon.net wrote: On 4/16/2013 5:30 AM, André Warnier wrote: Premature optimization is the root of all evil http://en.wikiquote.org/wiki/**Donald_Knuthhttp://en.wikiquote.org/wiki/Donald_Knuth No doubt; I learned that one long ago.

Re: tomcat reload single application command

2013-04-16 Thread naouguh_tomcat
Hi All, If I use the curl comand e.g. curl http://localhost:8080/manager/html/reload?path=/xxx; to reload one appliation in tomcat 6.0 ,However , it will fail as the manager application need authentication . So how can I do to reload in this way ? Looking forward for your suggestion . Best

Re: tomcat reload single application command

2013-04-16 Thread André Warnier
naouguh_tomcat wrote: Hi All, If I use the curl comand e.g. curl http://localhost:8080/manager/html/reload?path=/xxx; to reload one appliation in tomcat 6.0 ,However , it will fail as the manager application need authentication . So how can I do to reload in this way ? Looking forward for

Re: tomcat reload single application command

2013-04-16 Thread André Warnier
André Warnier wrote: naouguh_tomcat wrote: Hi All, If I use the curl comand e.g. curl http://localhost:8080/manager/html/reload?path=/xxx; to reload one appliation in tomcat 6.0 ,However , it will fail as the manager application need authentication . So how can I do to reload in this way

Re: multi-tenant web app

2013-04-16 Thread Ty
On Fri, Apr 12, 2013 at 6:08 AM, Jamie ja...@mailarchiva.com wrote: Greetings! I would like some advice with regards to deploying a web app in a multi-tenant scenario. A while back, we had a few cloud service providers ask us if they could host our web app as a service. Under pressure to

Re: tomcat reload single application command

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Guoan, On 4/16/13 7:59 AM, naouguh_tomcat wrote: If I use the curl comand e.g. curl http://localhost:8080/manager/html/reload?path=/xxx; to reload one appliation in tomcat 6.0 ,However , it will fail as the manager application need

Re: Tomcat 5.0.28 documentation

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eashwar, On 4/15/13 7:25 AM, M Eashwar wrote: Hi, I am searching for Tomcat 5.0.28 documentation in old mail archives and searching in web. But still I am not finding that. The reason to find this old documentation is, our application

Fwd: Tomcat Jdbc Pool - NumActive vs actual Established Connections

2013-04-16 Thread Kiren Pillay
Hi All, I am using the tomcat-jdpc-pool from within my spring application. I am noticing a discrepancy between the numActive/numIdle values that the pool reports versus the actual number of established connections to the database. For example, the pool reports 0 active and 4 idle connections

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread Mark H. Wood
On Mon, Apr 15, 2013 at 07:15:11PM +0200, André Warnier wrote: Neven Cvetkovic wrote: How about creating a fake manager application :))) That takes X minutes/seconds to get back a 404 ;))) [snip] Of course at the moment I am just fishing here for potential negative side-effects. Search

RE: Encoding Problem

2013-04-16 Thread Cool Techi
I know this is odd, but I removed URIEncoding=UTF-8 from my tomcat and the characters seem to be going fine. Cannot understand how this could happen. Also, I know removing UTF-8 encoding would cause problems in GET request, but still cannot figure out this behavior. Regards, Ayush Date:

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread André Warnier
Mark H. Wood wrote: On Mon, Apr 15, 2013 at 07:15:11PM +0200, André Warnier wrote: Neven Cvetkovic wrote: How about creating a fake manager application :))) That takes X minutes/seconds to get back a 404 ;))) [snip] Of course at the moment I am just fishing here for potential negative

Re: Tomcat 5.0.28 documentation

2013-04-16 Thread Konstantin Kolinko
2013/4/16 M Eashwar tomcatg...@gmail.com: Thanks for your replies. Would like to refer only documentation for 5.0.28. Any other possibility? 1. Scroll down for archive.apache.org link Regards, Eashwar On Mon, Apr 15, 2013 at 7:56 PM, Mark Eggers its_toas...@yahoo.com wrote: On

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread chris derham
Or, another way of looking at this would be that for every 40 servers scanned without a 404 delay, the same bot infrastructure within the same time would only be able to scan 1 server if a 1 s 404 delay was implemented by 50% of the webservers. This assumes that the scanning software makes

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Techienote com
On Tue, Apr 16, 2013 at 3:00 PM, André Warnier a...@ice-sa.com wrote: Techienote com wrote: On Tue, Apr 16, 2013 at 12:33 PM, Pïd stèr p...@pidster.com wrote: On 16 Apr 2013, at 06:35, Techienote com techienote@gmail.com wrote: Hi Team, Recently I am seeing concurrent mode failure

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread David kerber
On 4/16/2013 12:57 PM, chris derham wrote: Or, another way of looking at this would be that for every 40 servers scanned without a 404 delay, the same bot infrastructure within the same time would only be able to scan 1 server if a 1 s 404 delay was implemented by 50% of the webservers. This

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread Pïd stèr
On 16 Apr 2013, at 17:58, chris derham ch...@derham.me.uk wrote: Or, another way of looking at this would be that for every 40 servers scanned without a 404 delay, the same bot infrastructure within the same time would only be able to scan 1 server if a 1 s 404 delay was implemented by 50% of

practical scenarios

2013-04-16 Thread Jakub 1983
When is it useful to define context.xml in some other place than at /META-INF/context.xml inside the application files ? When do you usually do it ? Is it frequently used ? I am not asking about theoretical possibilities, but how are they used in practical scenarios. Most common case I encounter

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread André Warnier
chris derham wrote: Or, another way of looking at this would be that for every 40 servers scanned without a 404 delay, the same bot infrastructure within the same time would only be able to scan 1 server if a 1 s 404 delay was implemented by 50% of the webservers. This assumes that the

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread André Warnier
Pïd stèr wrote: On 16 Apr 2013, at 17:58, chris derham ch...@derham.me.uk wrote: Or, another way of looking at this would be that for every 40 servers scanned without a 404 delay, the same bot infrastructure within the same time would only be able to scan 1 server if a 1 s 404 delay was

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Pïd stèr
On 16 Apr 2013, at 09:23, Techienote com techienote@gmail.com wrote: On Tue, Apr 16, 2013 at 12:33 PM, Pïd stèr p...@pidster.com wrote: On 16 Apr 2013, at 06:35, Techienote com techienote@gmail.com wrote: Hi Team, Recently I am seeing concurrent mode failure errors in my Verbose GC

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread Pïd stèr
On 16 Apr 2013, at 19:38, André Warnier a...@ice-sa.com wrote: Pïd stèr wrote: On 16 Apr 2013, at 17:58, chris derham ch...@derham.me.uk wrote: Or, another way of looking at this would be that for every 40 servers scanned without a 404 delay, the same bot infrastructure within the same time

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/15/13 4:02 PM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: Howard, On 4/14/13 9:53 PM, Howard W. Smith, Jr. wrote: I am definitely relying on user

How to automatically download the latest version of a branch...

2013-04-16 Thread David BERCOT
Hello, I'd like to download the laster 6.x version of Tomcat. On the site, I first go to http://tomcat.apache.org/tomcat-6.0-doc/index.html Then, I choose a mirror, as, for example : http://tomcat.apache.org/download-60.cgi?Preferred=http%3A%2F%2Fmirrors.ircam.fr%2Fpub%2Fapache%2F And now, I'd

Re: multi-tenant web app

2013-04-16 Thread Pïd stèr
On 12 Apr 2013, at 12:00, Jamie ja...@mailarchiva.com wrote: Greetings! I would like some advice with regards to deploying a web app in a multi-tenant scenario. A while back, we had a few cloud service providers ask us if they could host our web app as a service. Under pressure to come

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread David kerber
On 4/16/2013 2:26 PM, André Warnier wrote: ... The trick is to make the vaccine cheap enough and easy enough to administer, so that there will be a significant enough proportion of vaccinated servers to make the virus statistically ineffective. Maybe if we find a simple patch to Tomcat to

Re: practical scenarios

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 4/16/13 2:25 PM, Jakub 1983 wrote: When is it useful to define context.xml in some other place than at /META-INF/context.xml inside the application files ? When do you usually do it ? Is it frequently used ? I am not asking about

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vidyadhar, On 4/16/13 1:14 PM, Techienote com wrote: With default setting we were getting frequent OOM errors. After analyzing the heap dump we found org.apache.poi.hssf.usermodel.HSSFSheet is accumulating more heap memory. As per the

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/16/13 2:37 PM, André Warnier wrote: Say that it would be easy to implement this in Tomcat, and that we do not collectively find good reasons not to do so, and that it does get implemented. Then I pledge that my next move would be

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 4/16/13 2:53 PM, David kerber wrote: On 4/16/2013 2:26 PM, André Warnier wrote: ... The trick is to make the vaccine cheap enough and easy enough to administer, so that there will be a significant enough proportion of vaccinated

Re: multi-tenant web app

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jamie, On 4/12/13 7:08 AM, Jamie wrote: I would like some advice with regards to deploying a web app in a multi-tenant scenario. A while back, we had a few cloud service providers ask us if they could host our web app as a service. Under

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread André Warnier
Pïd stèr wrote: On 16 Apr 2013, at 19:38, André Warnier a...@ice-sa.com wrote: Pïd stèr wrote: On 16 Apr 2013, at 17:58, chris derham ch...@derham.me.uk wrote: Or, another way of looking at this would be that for every 40 servers scanned without a 404 delay, the same bot infrastructure

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/16/13 2:37 PM, André Warnier wrote: Say that it would be easy to implement this in Tomcat, and that we do not collectively find good reasons not to do so, and that it does get implemented. Then I pledge

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-16 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 4/16/13 2:53 PM, David kerber wrote: On 4/16/2013 2:26 PM, André Warnier wrote: ... The trick is to make the vaccine cheap enough and easy enough to administer, so that there will be a significant enough

JSP rendering problem

2013-04-16 Thread Elmekki, Mohammed A.
I am moderately experienced with tomcat/jsp/servlet web development with earlier versions, I am currently using apache-tomcat-7.0.39. I have a simple JSP (that I reduced to one line of code: h1% out.println(Hello); %/h1) that I wanted to test but all browsers, ie, Firefox and Chrome would only

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Pïd stèr
On 16 Apr 2013, at 20:42, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vidyadhar, On 4/16/13 1:14 PM, Techienote com wrote: With default setting we were getting frequent OOM errors. After analyzing the heap dump we found

Re: JSP rendering problem

2013-04-16 Thread Mark Eggers
On 4/16/2013 1:47 PM, Elmekki, Mohammed A. wrote: I am moderately experienced with tomcat/jsp/servlet web development with earlier versions, I am currently using apache-tomcat-7.0.39. I have a simple JSP (that I reduced to one line of code: h1% out.println(Hello); %/h1) that I wanted to test but

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-16 Thread Howard W. Smith, Jr.
On Tue, Apr 16, 2013 at 10:31 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/15/13 4:02 PM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: