Releasing memory on undeploy

2005-03-18 Thread Simon Kitching
Hi, I'm one of the committers on commons-logging and am currently looking into memory-leak issues with j2ee/servlet-engine stuff when undeploying apps that use commons-logging. I see the following page in the tomcat FAQ states that classloaders cannot be garbage-collected in tomcat:

Re: Windows NT

2005-03-18 Thread Simon Kitching
On Fri, 2005-03-18 at 08:13 -0300, Inove Infoshop Ltda wrote: Hi, Shouldn't TC install under (not manufacturer supported any more) Windows NT 4? I´m using a product called DeskNow and it uses Tomcat 5.x. Unfortunately (or not), ver 2.6 of the product started using ver 5.x of Tomcat. I

Re: deleteOnExit doesn't seem to be working for session temporary files..

2005-03-18 Thread Simon Kitching
On Fri, 2005-03-18 at 10:27 -0800, Joseph Silverman wrote: In our setup, we have JSP's that create a temporary file with the deleteOnExit flag set. The session timeout (getMaxInactiveInterval) appears to be the default of 1800 seconds (30 minutes). We are blasting our servlet container

Re: Releasing memory on undeploy

2005-03-18 Thread Simon Kitching
On Fri, 2005-03-18 at 18:48 -0800, Chris Hyzer wrote: currently looking into memory-leak issues with j2ee/servlet-engine We have about a dozen apps on 2 tomcats that have 800MB each in linux (5.0.25), and they are not huge apps, but after a few manager reloads the tomcat is out of

Delegate flag for classloading (ATTN: Remy Maucherat)

2005-03-18 Thread Simon Kitching
Hi, I see here that there is an option for the webapp-specific classloader to use parent-first classloading instead of the (default) child-first classloading. Can someone suggest why this might be useful? Clearly someone thought so, but I can't see any point in it. It is in catalina since

Re: [Slightly OT] MVC approach when JSP are not allowed

2005-03-18 Thread Simon Kitching
On Fri, 2005-03-18 at 23:33 -0500, Elihu Smails wrote: I am working on a project that uses servlets exclusively. I would like to take advantage of a Model-View-Controller system in order to develop my servlets. For the last servlet project I worked on, I was in charge of the back-end data

Re: Logging in Tomcat 5.5

2005-03-17 Thread Simon Kitching
On Fri, 2005-03-18 at 11:25 +0530, Joy Kenneth Harry wrote: Hi, I have a webapp in tomcat. I am using a separate Log4j.xml for it, in its WEB-INF classes folder. I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to false so that I do not get the general Tomcat logs. But

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Simon Kitching
On Wed, 2003-03-12 at 13:43, Chris Dodunski wrote: Hi, Sorry, only just noticed that myself. Of the two that aren't, I reduced minProcessors to 1, and maxProcessors to 2 (server.xml). But alas, upon restarting Tomcat, I still have 26 Java processes running! Please, what must I do to

Process.waitFor bug which might affect CGIServlet

2003-03-05 Thread Simon Kitching
, Simon Kitching The Electronic Commerce Network Ltd. #!/bin/sh #echo runme runme.out exit 0 import java.io.File; import java.io.IOException; class HangMe { private static void log_debug(String s) { System.out.println(DEBUG: + s); } private static void log_debug(String s, Throwable t