Tomcat 7 | Tracking the completion of the WAR file deployment

2012-10-29 Thread Anurag Kapur
ne on frequent deployments as Tomcat might take longer than the wait time I configured (No, I cannot set a very large and hence always safe wait time). Is there a better way of doing this? -- Anurag Kapur Twitter: @anuragkapur <http://www.twitter.com/anuragkapur> AboutMe: http://www.anuragkapur.com

Re: App becomes sluggish - Tomcat 7.0.23

2012-07-12 Thread Anurag Kapur
. -- Anurag Kapur Twitter: @anuragkapur <http://www.twitter.com/anuragkapur> AboutMe: http://www.anuragkapur.com *Make a difference, donate for a wonderful cause..* British 10k Page: http://www.justgiving.com/Anurag-Kapur-B10k-2012 On Tue, Jul 10, 2012 at 6:45 PM, Sri Kon wrote: > e) r

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-19 Thread Anurag Kapur
Hello all, Can one of you please help answer the last set of queries I have on this please? Thanks Anurag On Mon, Oct 18, 2010 at 3:02 PM, Anurag Kapur wrote: > Thanks Chris/Mark/Charles/Pid for your help with this. The issue has been > fixed after using the JVM ar

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-18 Thread Anurag Kapur
ld of size? Regards Anurag On Wed, Oct 13, 2010 at 7:16 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Anurag, > > On 10/12/2010 5:47 PM, Anurag Kapur wrote: >> I have probably attached an incomp

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-12 Thread Anurag Kapur
Thanks for your inputs. I have probably attached an incomplete snapshot of the memory utilization graph. What happens as more time progresses is that the utilization keeps increasing and the amount of heap that gets collected keeps decreasing. After some time the system starts doing Full GCs every

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-11 Thread Anurag Kapur
?id=37793 We do not use the suggest JVM argument in our Tomcat 5.5.27 JVM -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true Could adding this argument to the Tomcat JVM resolve the problem? -Anurag On Mon, Oct 11, 2010 at 1:55 PM, Anurag Kapur wrote: > > Thanks Chris and Chu

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-11 Thread Anurag Kapur
Thanks Chris and Chuck for your help so far. I have added my problem statement with Images to by blog here: http://anuragkapur-techbytes.blogspot.com/2010/10/tomcat-5527-memory-leak-in-escenic-cms.html

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Anurag Kapur
On Fri, Oct 8, 2010 at 11:04 PM, Anurag Kapur wrote: > Thanks for your response Chris. > > On Fri, Oct 8, 2010 at 10:07 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Anu

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Anurag Kapur
Thanks for your response Chris. On Fri, Oct 8, 2010 at 10:07 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Anurag, > > On 10/8/2010 3:15 PM, Anurag Kapur wrote: > > _Problem Statement_ >

Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Anurag Kapur
this problem would be highly appreciated. Kind Regards Anurag --- Anurag Kapur Senior Associate - Technology, Sapient Corporation. http://www.linkedin.com/in/anuragkapur http://www.google.com/profiles/anuragkapur ---

Re: Jmxproxy issue

2010-05-19 Thread Anurag Kapur
ded to the Tomcat process you get detailed memory information including Garbage collections stats on the jmxproxy servlet. Hope this helps. Regards Anurag -- Anurag Kapur Senior Associate - Technology, Sapient Corporation. +44 (0) 7

Setting HTTP Response Headers Through Tomcat Configurations

2010-03-16 Thread Anurag Kapur
cts/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html> but if possible I would like to do this though some built in configurations. Thank you for your time. Regards Anurag -- Anurag Kapur Associate - Technology, S

Re: Conditionally Setting HTTP Response Header

2010-03-15 Thread Anurag Kapur
e can his/her inputs. Regards Anurag On Mon, Mar 15, 2010 at 4:05 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Anurag, > > On 3/15/2010 9:12 AM, Anurag Kapur wrote: > > I am looking for some

Conditionally Setting HTTP Response Header

2010-03-15 Thread Anurag Kapur
Hello, Apologies for sending a HTTPD query to the Tomcat list. I am urgently looking for a response and thought many of you would have ample experience to answer this. Thanks Anurag -- Forwarded message -- From: Anurag Kapur Date: Mon, Mar 15, 2010 at 12:50 PM Subject

Re: Tomcat HTTP Connector Threads Hung

2010-02-10 Thread Anurag Kapur
Thank you for your response Chuck. Got your point and have started investigating this problem at the web app level. Regards Anurag On Wed, Feb 10, 2010 at 3:45 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Anurag Kapur [mailto:anuragka...@gmail.com] > &g

Tomcat HTTP Connector Threads Hung

2010-02-09 Thread Anurag Kapur
endor: Sun Microsystems Inc. Apache Server version: Apache/2.2.9 (Unix) Your thoughts and advice on this would be much appreciated. Thanks Anurag -- Anurag Kapur Associate - Technology, Sapient Corporation. http://www.linkedin.c

Re: Timeout

2010-01-21 Thread Anurag Kapur
c/config/http.html>? ------ Anurag Kapur Associate - Technology, Sapient Corporation. +44 (0) 7514 996 586 http://www.linkedin.com/in/anuragkapur http://www.google.com/profiles/

Re: tomcat log analyzer

2010-01-21 Thread Anurag Kapur
-- Anurag Kapur Associate - Technology, Sapient Corporation. http://www.linkedin.com/in/anuragkapur http://www.google.com/profiles/anuragkapur -- Sent from Poplar, Greater

Re: newbie: multiple ports for same tomcat server 5.0

2010-01-21 Thread Anurag Kapur
prevent port conflicts. Can you please elaborate on this? I am having difficulties in imagining a scenario where this would result in a port conflict (an example would be great). Thanks Anurag -- Anurag Kapur Associate - Technology

Re: Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Anurag Kapur
Thomas wrote: > Anurag Kapur wrote: > > Thanks Mark. > > > > Can you confirm that I can have one data source "shared" across all > contexts > > with the following configurations: > > > > In CATALINA_BASE/conf/server.xml, I define a GlobalNamingReso

Re: Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Anurag Kapur
CATALINA_BASE/conf/context.xml as follows: Information obtained from your reply and http://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html Kind Regards -- Anurag Kapur Associate - Technology, Sapient Corporation. http://www.linkedin.com/in/anu

Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Anurag Kapur
e total connections to the DB would be 5 * number of contexts defined in the container. Thus to estimate the number of DB connections this information is needed. Any help appreciated. Regards -- Anurag Kapur Associate - Technology, Sapient Corporation. http://www.linkedin.com/in/anuragkapur http://www.google.com/profiles/anuragkapur --

Re: Manager Application | Security | Tomcat 5.5.27

2009-11-05 Thread Anurag Kapur
best practices around the manager webapp and security. Thanks again for your reply. Regards Anurag On Thu, Nov 5, 2009 at 9:53 PM, Tobias Crefeld wrote: > Am Thu, 5 Nov 2009 19:42:58 + schrieb Anurag Kapur > > On Thu, Nov 5, 2009 at 12:29 PM, Tobias Crefeld wrote: > > >

Re: Manager Application | Security | Tomcat 5.5.27

2009-11-05 Thread Anurag Kapur
Thank you for your reply. On Thu, Nov 5, 2009 at 12:29 PM, Tobias Crefeld wrote: > Am Thu, 5 Nov 2009 11:04:06 + > schrieb Anurag Kapur : > > > 1. Why is it considered that the manager webapp should not be > > deployed on production environments? Am I just believing

Re: Tomcat monitoring

2009-10-27 Thread Anurag Kapur
ttp://www.lambdaprobe.org/d/screenshots/full/status.png> -- Anurag Kapur Associate - Technology, Sapient Corporation. http://www.linkedin.com/in/anuragkapur http://www.google.com/profiles/anura

Re: How to hot swap classes?

2009-05-19 Thread Anurag Kapur
on, however, to trigger reloads of deployed applications on demand. Regards Anurag ------ Anurag Kapur Associate - Technology, Sapient Corporation. +44 (0) 7514 996 586 http://www.linkedin.com/in/

Re: Error filterStart

2009-03-12 Thread Anurag Kapur
-- Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com/in/anuragkapur -- On Thu, Mar 12, 2009 at 2:13 PM, Dolphin06 wrote: > > INFO: The Apache Tomcat Native l

Re: Tomcat - don't output errors to browser

2009-03-07 Thread Anurag Kapur
You can add the following entry to your deployment descriptor (web.xml) 500 /error500.jsp You can display an end user friendly message in the error500.jsp instead of the Error stacktrace. Hope this helps Cheers -- Anurag

Re: Tomcat Memory Leaks

2009-03-06 Thread Anurag Kapur
potential indication on what is causing a memory leak. Cheers Anurag ------ Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com/in/anuragkapur -

Re: not using the port number in the address???

2009-02-25 Thread Anurag Kapur
directive would forward all requests on the root context on port 80 to be proxied to your-app under tomcat on port 8080. Read about it in detail here: http://httpd.apache.org/docs/2.0/mod/mod_proxy.html Cheers Anurag -- Anurag Kapur

Re: how

2009-02-25 Thread Anurag Kapur
/mod_proxy.html Cheers Anurag -- Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com/in/anuragkapur -- On Wed, Feb 25, 2009 at 2:14 PM

Re: Tomcat 5.5 services hangs during "net stop"

2009-02-23 Thread Anurag Kapur
the proces ID) to obtain thread dumps from command line. Cheers Anurag -- Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com/in/anuragkapur

Re: catalina.out

2009-02-15 Thread Anurag Kapur
ad of Log4j. I have used the above configurations and they do work as expected! All the best! Cheers Anurag ------ Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com

Re: Apache2.2 pages won't render in FireFox

2009-02-15 Thread Anurag Kapur
http://httpd.apache.org/lists.html --Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com/in/anuragkapur -- On Sun, Feb 15, 2009 at

Re: Apache2.2 pages won't render in FireFox

2009-02-15 Thread Anurag Kapur
-- Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com/in/anuragkapur -- On Sun, Feb 15, 2009 at 4:23 PM, André Warnier wrote: > Martin Gainty wrote: > >> All- >> >> Im

Re: ssl problems

2009-02-12 Thread Anurag Kapur
You also need a .keystore file (if you are on default settings, then in the users home directory). Read more on it here: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html Anurag -- Anurag Kapur Associate - Technology, Sapient

Re: deploying web application on remote server

2009-02-12 Thread Anurag Kapur
ile except a *.jar will be ignored in the WEB-INF/lib folder. Look for a .jar file for the connector instead. Anurag ------ Anurag Kapur Associate - Technology, Sapient Corporation India. ---

Re: Oracle connection pooling

2009-02-12 Thread Anurag Kapur
uld be used to enable DBCP. Anurag ------ Anurag Kapur Associate - Technology, Sapient Corporation India -- On Thu, Feb 12, 2009 at 10:26 PM, Propes, Barry L wrote: > Yeah -- looked like an odd