RE: Tomcat OOM errors..

2011-11-03 Thread Dale Ogilvie
Permgen memory leaks can cause those permgen OOM. One common cause is webapps not cleaning up after themselves on context shutdown. This leaks every loaded class from the webapp into the permgen whenever the application is unloaded. Knowing this one can workaround these leaks by being careful wit

Re: making security constraints configureable

2011-11-03 Thread Daniel Mikusa
Leon, Is it a requirement for you to use BASIC auth? or could you use something like the Remote Address Filter to restrict by IP address? https://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote_Address_Filter If you configure this valve in the restricted environment you can then contr

making security constraints configureable

2011-11-03 Thread Leon Rosenberg
Hello, I have a situation where an application is accessable from outside in staging and production environment, but shouldn't be open for public in staging environment. What we did so far was, that we excluded everyone via web.xml: BASIC

Re: Tomcat OOM errors..

2011-11-03 Thread Konstantin Kolinko
2011/11/3 Francis GALIEGUE : > On Thu, Nov 3, 2011 at 16:25, celtic man wrote: >> >> I see these errors(tomcat 6) : >> >> Exception in thread "http-bio-8080-exec-21" >> java.lang.OutOfMemoryError: PermGen space >> Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner >> $PoolThrea

Re: Tomcat OOM errors..

2011-11-03 Thread Francis GALIEGUE
On Thu, Nov 3, 2011 at 16:25, celtic man wrote: > > I see these errors(tomcat 6) : > > Exception in thread "http-bio-8080-exec-21" > java.lang.OutOfMemoryError: PermGen space > Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner > $PoolThread-#0" java.lang.OutOfMemoryError: Perm

Tomcat OOM errors..

2011-11-03 Thread celtic man
I see these errors(tomcat 6) : Exception in thread "http-bio-8080-exec-21" java.lang.OutOfMemoryError: PermGen space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner $PoolThread-#0" java.lang.OutOfMemoryError: PermGen space And checked the the JAVA parameters : CATALINA_OPT

Re: Tomcat 6 logging clog

2011-11-03 Thread Mustafa Yuksel
Tim Space hotmail.com> writes: > > > Here is the result of "ps -aef | grep java" > ... Hi, I see it has been some time since the last message is posted but I had a similar problem that took quite an amount of my time. I want to share my experience here. Most probably, tomcat is not the one