Tomcat download stream gets broken

2011-05-19 Thread Gerardo Corro
Trying gmail Hi all, I have a file download servlet running on Tomcat, the code is public void service(HttpServletRequest request, HttpServletResponse response) throws IOException { byte buf[] = new byte[1024 * 4]; try { File file = new File(realFilename);

Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
Hi all, I'm using Tomcat version 5.5.30, and I'm having a serious issue: Tomcat unexpectedly shuts down, I have my JVM tuned with enough memory and many option that warranty proper garbage collector and monitoring: -Xms5000m -Xmx5000m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
Hi, Thanks for your email Do you have enough RAM + swap space to support that large a heap, along with the other memory requirements of the Tomcat process and all other processes on the system? If not, you may well be getting hit by the Linux OOM-killer, which leaves few traces.

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
-tomcat/os memory proportions needed? Thanks From: chuck.caldar...@unisys.com To: users@tomcat.apache.org Date: Mon, 9 Aug 2010 09:13:53 -0500 Subject: RE: Tomcat unexpectedly shuts down From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] Subject: RE: Tomcat unexpectedly shuts down

RE: Connector set up

2009-08-24 Thread Gerardo Corro
the proxy in front of the web-apps. I cannot add Apache either, all I can do is to fix it from Tomcat Thanks a lot. Date: Sun, 23 Aug 2009 23:45:58 +0200 From: a...@ice-sa.com To: users@tomcat.apache.org Subject: Re: Connector set up Gerardo Corro wrote: Hi, The purpose

RE: Connector set up

2009-08-23 Thread Gerardo Corro
12:27:39 +0100 From: p...@pidster.com To: users@tomcat.apache.org Subject: Re: Connector set up On 22/08/2009 21:37, Gerardo Corro wrote: Hi, I have 6 different web-apps (let's call their contexts /wa1, /wa2 ... /wa6) running in port 8080. I have another web-app named /proxy

Connector set up

2009-08-22 Thread Gerardo Corro
Hi, I have 6 different web-apps (let's call their contexts /wa1, /wa2 ... /wa6) running in port 8080. I have another web-app named /proxy running on port 80. As the name suggests this web-app does proxy functions for the other 6 web-apps. This proxy basically is meant to go to any of the

Master Proxy/Filter in Tomcat

2009-08-20 Thread Gerardo Corro
Hi, I have any number of webapps deployed in Tomcat, I need to create a proxy that filters all redirections until the end is reached and displays the final result to users. I already implemented a method that follows all redirections and gets the final result, now, that works from the