Re: high CPU usage on tomcat 7

2012-10-06 Thread Jeff MAURY
- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Jeff MAURY Legacy code often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http

RE: high CPU usage on tomcat 7

2012-10-04 Thread Jeff MAURY
Le 4 oct. 2012 14:38, Caldarale, Charles R chuck.caldar...@unisys.com a écrit : From: Kirill Kireyev [mailto:kir...@instagrok.com] Subject: Re: high CPU usage on tomcat 7 Perhaps what I need is to have the JVM do garbage collections more frequently, so that they don't become a huge

Re: high CPU usage on tomcat 7

2012-09-30 Thread Jeff MAURY
webinf top_all_threads.log 1 top_user_webinf_threads.log'); # Get the thread dump instaGrok_sml.png -- Jeff MAURY Legacy code often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http

Re: high CPU usage on tomcat 7

2012-09-27 Thread Jeff MAURY
This is probably due to out of memory, I have the same problem on my ubuntu ci machine Did you monitor your tomcat with jmx ? Jeff Le 27 sept. 2012 17:39, Kirill Kireyev kir...@instagrok.com a écrit : Hi! I'm periodically getting unduly high (100%) CPU usage by the tomcat process on my

Re: Issue building the Unix daemon (jsvc) with the configure script in Tomcat7

2012-08-25 Thread Jeff MAURY
the whole command passed to jsvc but I am not fluent in shell scripts and I can't get to echo it yet. Fred On Fri, Aug 24, 2012 at 10:45 PM, Jeff MAURY jeffma...@jeffmaury.com wrote: It probably means your current user (ec2-user) has not the rights

Re: Issue building the Unix daemon (jsvc) with the configure script in Tomcat7

2012-08-24 Thread Jeff MAURY
, but not in the Linux one. Cheers, Fred On Fri, Aug 24, 2012 at 7:51 AM, Jeff MAURY jeffma...@jeffmaury.com wrote: You need a JDK to be installed on your machine and it seems you've only a JRE Jeff On Thu, Aug 23, 2012 at 10:12 PM, Fred Janon fja...@gmail.com wrote: Hi, I am trying

Re: Issue building the Unix daemon (jsvc) with the configure script in Tomcat7

2012-08-24 Thread Jeff MAURY
INFO: Server startup in 1613 ms I am not sure my export TOMCAT_USER=tomcat is right, or if I am missing something. Regards, Fred On Fri, Aug 24, 2012 at 12:01 PM, Jeff MAURY jeffma...@jeffmaury.com wrote: Fred, you are getting confused by the term OpenJDK. It comes in two flavor

Re: Issue building the Unix daemon (jsvc) with the configure script in Tomcat7

2012-08-23 Thread Jeff MAURY
}/${OS} 6 { { echo $as_me:$LINENO: error: You should retry --with-os-type=SUBDIR 5 echo $as_me: error: You should retry --with-os-type=SUBDIR 2;} { (exit 1); exit 1; }; } fi fi - Thanks Fred -- Jeff MAURY Legacy code often

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Jeff MAURY
Jeff all, Von: Jeff MAURY jeffma...@jeffmaury.com Datum: Mon, 25 Jun 2012 18:46:02 +0200 Konstantin, your explanations are very interesting but unclear to me: what do you call the inactivity timer ? When it is started ? After the request has been processed by the servlet

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Jeff MAURY
this socket to the browser. Jeff On Fri, Jun 29, 2012 at 2:40 PM, Laurent Petit lpe...@yseop.com wrote: Hello, On Fri, 2012-06-29 at 11:45 +0200, Jeff MAURY wrote: That what I guessed but I don't understand everything. The code you are referencing is related to NTPipes and not sockets

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Jeff MAURY
the client will not receive the ack and this is a problem with APR and Runtime.exec Jeff On Fri, Jun 29, 2012 at 4:38 PM, Laurent Petit lpe...@yseop.com wrote: On Fri, 2012-06-29 at 15:27 +0200, Jeff MAURY wrote: No, it does not (yet) make sense because one piece of the puzzle is missing

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-25 Thread Jeff MAURY
of the servlet, would a fully mavenized example help? Anything else? Regards, -- Laurent On Fri, 2012-06-22 at 10:21 +0200, Laurent Petit wrote: Hello, On Thu, 2012-06-21 at 22:53 +0200, Jeff MAURY wrote: Is it specific to Wordpad or any launched process will do the trick ? Do you tried

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-25 Thread Jeff MAURY
Yes, fine Jeff On Mon, Jun 25, 2012 at 1:46 PM, Laurent Petit lpe...@yseop.com wrote: On Mon, 2012-06-25 at 11:51 +0200, Jeff MAURY wrote: If you can post a Mavenized example, I could have time to run it and watch at it. Ok, thanks, I will. Is a mavenized project with source code

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-25 Thread Jeff MAURY
...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Jeff MAURY Legacy code often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-21 Thread Jeff MAURY
.Thanks for your support, ideas, solutions, etc. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Jeff MAURY Legacy code often differs from

Re: Creating separate log for each request

2012-06-20 Thread Jeff MAURY
this in tomcat configuration ? Regards Lahiru -- System Analyst Programmer PTI Lab Indiana University -- Jeff MAURY Legacy code often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http

Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-20 Thread Jeff MAURY
. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Jeff MAURY Legacy code often differs from its suggested alternative by actually working and scaling. - Bjarne

Re: tomcat7:run with multi maven modules changes

2012-05-08 Thread Jeff MAURY
...@tomcat.apache.org -- Jeff MAURY Legacy code often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury

Re: Does Tomcat Maven plugin support WAR overlays ?

2012-04-30 Thread Jeff MAURY
-webapp/pom.xml 2012/4/28 Jeff MAURY jeffma...@jeffmaury.com: Hello, I am facing the following problem with WAR overlays: I have a first WAR, called skeleton, that contains all necessary stuff: base web.xml, index.jsp and JAR dependencies. I have another WAR whose first dependency

Re: Does Tomcat Maven plugin support WAR overlays ?

2012-04-30 Thread Jeff MAURY
...@apache.org wrote: 2012/4/30 Jeff MAURY jeffma...@jeffmaury.com: Salut Olivier, I wanted to make sure I understand the goal properly. Is the rationale for using src/main/webapp as the default docbase for Tomcat to propagate modifications of files on the fly (JSP,...) without

Does Tomcat Maven plugin support WAR overlays ?

2012-04-28 Thread Jeff MAURY
case, it cannot work. AM I missing something ? Thanks Jeff -- Jeff MAURY Legacy code often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury -- Jeff MAURY

RE: ssl.SessionId Cache keeps growing

2008-03-04 Thread Jeff MAURY
of the ssltimeout is 86400 seconds ie 1 day. It cannot be changed with a property (on Java5). Regards Jeff MAURY Caldarale, Charles R wrote: From: Yuval Perlov [mailto:[EMAIL PROTECTED] Subject: Re: ssl.SessionId Cache keeps growing Been all over those objects thinking I can set a system wide