Re: [OT] Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/20/2011 4:59 PM, Mark Thomas wrote: On 20/07/2011 21:46, Christopher Schultz wrote: Mark, On 7/20/2011 4:25 AM, Mark Thomas wrote: You need to de-register the driver you registered. However, that won't be causing the leak since

Re: [OT] Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-22 Thread Sylvain Laurent
My personal advice with the Oracle driver is to put it at the server level, not at the webapp level. For instance if you use the query timeouts, oracle JDBC spawns a Thread to handle the timeouts, and there is no way to properly stop this thread so tomcat will continue complaining about leaking

Re: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-20 Thread Mark Thomas
On 20/07/2011 05:26, Monsieur fsfu wrote: @Chuck -- The moment I remove context xml (xyz##001.xml) file, tomcat automagically removes the corresponding dir from webapps. So that's not an issue. In my log file i see the following message INFO | jvm 1| 2011/07/19 16:11:07 | Jul 19,

Re: [OT] Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/20/2011 4:25 AM, Mark Thomas wrote: You need to de-register the driver you registered. However, that won't be causing the leak since Tomcat already did the clean up for you. Time to get the profiler out. Quick question: I get these

Re: [OT] Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-20 Thread Mark Thomas
On 20/07/2011 21:46, Christopher Schultz wrote: Mark, On 7/20/2011 4:25 AM, Mark Thomas wrote: You need to de-register the driver you registered. However, that won't be causing the leak since Tomcat already did the clean up for you. Time to get the profiler out. Quick question: I get

Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-19 Thread Monsieur fsfu
Hi, I was checking out the parallel deployment feature of tomcat 7 and encountered an issue with PermGen space of JVM. After the initial deployment (xyz##001.war), PermGen space reaches ~120mb of space and after parallel deployment (xyz##002.war) it almost doubles (~205mb) which make sense. Now

Re: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-19 Thread Rainer Jung
On 20.07.2011 01:32, Monsieur fsfu wrote: Hi, I was checking out the parallel deployment feature of tomcat 7 and encountered an issue with PermGen space of JVM. After the initial deployment (xyz##001.war), PermGen space reaches ~120mb of space and after parallel deployment (xyz##002.war) it

Re: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-19 Thread Konstantin Kolinko
2011/7/20 Monsieur fsfu monsieurf...@gmail.com: I was checking out the parallel deployment feature of tomcat 7 and encountered an issue with PermGen space of JVM. After the initial deployment (xyz##001.war), PermGen space reaches ~120mb of space and after parallel deployment (xyz##002.war) it

RE: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-19 Thread Caldarale, Charles R
From: Monsieur fsfu [mailto:monsieurf...@gmail.com] Subject: Tomcat 7 parallel deployment and PermGen Heap Space Now if i remove the old war file (xyz##001.war) by removing xyz##001.xml ($catalina_home/conf/Catalina/locahost/xyz##001.xml), PermGen space doesn't come down. First, verify

Re: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-19 Thread Monsieur fsfu
: Tomcat 7 parallel deployment and PermGen Heap Space Now if i remove the old war file (xyz##001.war) by removing xyz##001.xml ($catalina_home/conf/Catalina/locahost/xyz##001.xml), PermGen space doesn't come down. First, verify that the first instance really has been undeployed. Second, unless you