Re: Memory Leak(?) causing tomcat to store 57610801 tomcat objects in ONE request

2009-01-10 Thread Konstantin Kolinko
2009/1/10 Caldarale, Charles R chuck.caldar...@unisys.com: From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] Subject: Memory Leak(?) causing tomcat to store 57610801 tomcat objects in ONE request HOW can it actually happen that a response object contains 8.000.000 mime headers?

RE: Memory Leak(?) causing tomcat to store 57610801 tomcat objects in ONE request

2009-01-10 Thread Mark Thomas
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] I was recently hunting what I thought to be a memory leak in our application. What happens is that the Old Gen Space is running full at once and then tomcat freezes because java is busy with Full GC all the time. I've managed to

RE: Problems with disableproxyCache=false

2009-01-10 Thread Mark Thomas
From: Al Blake [mailto:a...@blakes.net] When I include the code: Context Valve className=org.apache.catalina.authenticator.NoLoginAuthenticator disableProxyCaching=false/ /Context In server.xml tomcat hangs on startup. Comment the line out and everything

RE: SSL and client-authentication with smartcard

2009-01-10 Thread Mark Thomas
From: Benoit Maupas [mailto:bmau...@yahoo.fr] I am using Tomcat with SSL and client-authentication by smartcard. My application uses Struts2 and Spring-Security. I would like to : 1/ get current SSL session retrieved from session-id There isn't (at the moment) a direct relationship. Version

to Set permission of apache_tomcat_6.0.16

2009-01-10 Thread parag737
Hi all, I really dont know anything about apache-tomcat-6.0.16 server configuration.so i have issue like how to create virtual directory in apache-tomcat-6.0.16 server or is there any default directory i want to set it's permission like which we set in IIS of microsoft. In IIS there is one

Re: Strange parser behavior from adding log4j

2009-01-10 Thread Ken Bowen
Mark, I checked out rev 733300 from /tomcat/tc6.0x/trunk, built it and the relase, and used an unzipped copy of apache-tomcat-6.0-snapshot. Unfortunately, the same error still happens when I start up my webapp: ERROR org.apache.commons.digester.Digester - Parse Error at line 405 column

RE: Strange parser behavior from adding log4j

2009-01-10 Thread Mark Thomas
From: Ken Bowen [mailto:kbo...@als.com] Mark, I checked out rev 733300 from /tomcat/tc6.0x/trunk, built it and the relase, and used an unzipped copy of apache-tomcat-6.0-snapshot. Unfortunately, the same error still happens when I start up my webapp: ERROR

Implementing service chaining with Tomcat6

2009-01-10 Thread uma_rk
I am using Tomcat6.0.14 with Jdk1.6 on Linux RH4. My application comprises a daemon and Tomcat6. The daemon is slow in starting up. I need Tomcat6 to be started after the daemon is operational. While the daemon is a Java application, its a third-party tool whose src I do not control. Is

single instance of background job?

2009-01-10 Thread Rusty Wright
This isn't really a Tomcat question I'm guessing but I don't know where else to ask. In our setup we have multiple Tomcats behind a load balancer. I have a background task that will run once a day, via Quartz. All Tomcats will be using the same war so they will all run the job, but I need

Re: Implementing service chaining with Tomcat6

2009-01-10 Thread Rusty Wright
What options are available to you to determine if the daemon is ready? For example, does it create a lock file? If so, you could modify your tomcat startup script in /etc/init.d, the one that calls /usr/local/tomcat/bin/startup.sh, and have it check if the daemon is ready and wait until it

Linux Runtime Script

2009-01-10 Thread Java PHI
Hi, Does anyone has a Linux script to run Tomcat as Linux services, i.e. the runlevel scripts ? I have tried to make one, but in case there is a proven script that has been deployed somewhere... can someone please share ? Thanks, Feris

Re: single instance of background job?

2009-01-10 Thread Lucas Galfaso
Hi, This should be strait forward if you use terracotta. If you have a NFS that all Tomcat instances share, using FileChannel::lock is way cheaper than any other solution. -lg On Sun, Jan 11, 2009 at 2:30 AM, Rusty Wright rusty.wri...@gmail.com wrote: This isn't really a Tomcat question I'm