Custom Log Formatter

2007-10-24 Thread Dan Beaulieu
Hello, it is my understanding that if I specify the fully qualified name of a class that implements java.util.logging.Formatter like so in conf/logging.properties: 2localhost.org.apache.juli.FileHandler.formatter = CustomFormat Then juli should use that class to format log messages that go

RE: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-24 Thread Dan Beaulieu
that it actually would add all 2000 files to be monitored by tomcat, and could have noticeable impact Filip Dan Beaulieu wrote: Reloadable is true, and unpack is false. If we tell it to unpack it'll take a long time to start up, but then subsequent start ups with out deleting the webapp dir are fast

RE: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-24 Thread Dan Beaulieu
, non-APR, windows 2000, slow server startup with unpacked WAR Dan Beaulieu wrote: Right, I understand the function of the reloadable attribute. What I don't understand is how on a modern computer, registering 2000 locations in memory/on disk to check for changes could take over a minute. Imagine

RE: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-24 Thread Dan Beaulieu
startup with unpacked WAR Dan Beaulieu wrote: Well I guess this gets into the nuances of classloaders that I am completely unfamiliar with, but I wonder why it would be any different if those few thousand classes are now packed in a jar and made available as a library to the webapp? nothing

RE: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-23 Thread Dan Beaulieu
/lib. Not ideal, but I guess it will have to do, but I don't see why it would matter how many classes are in WEB-INF/classes. Start up time is now around 5s instead of 80s. -Original Message- From: Dan Beaulieu [mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 10:32 AM To: 'Tomcat

RE: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-23 Thread Dan Beaulieu
and place that jar into WEB-INF/lib. Not ideal, but I guess it will have to do, but I don't see why it would matter how many classes are in WEB-INF/classes. Start up time is now around 5s instead of 80s. -Original Message- From: Dan Beaulieu [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: [Apache2.2.4/modjk/Tomcat6.0.13] redirect url problem

2007-07-25 Thread Dan Beaulieu
log, if the module is doing anything. Maybe there's a problem with the spaces in the path? Mske sure, the Apache user can write to the file, so it wasn't created during a test run by a user with other privileges. Why is your JkOption gone? Regards, Rainer Dan Beaulieu wrote: Yes, that's

[Apache2.2.4/modjk/Tomcat6.0.13] redirect url problem

2007-07-24 Thread Dan Beaulieu
I am trying to migrate our current system of apache/jserv to apache tomcat using modjk. I am trying to shoe horn our current configuration. I have a webapp lets call it myApp. Now some of our static content, beyond my control, requests urls like

RE: [Apache2.2.4/modjk/Tomcat6.0.13] redirect url problem

2007-07-24 Thread Dan Beaulieu
. Another option would be to use mod_rewrite to rewrite the URL only locally, but then the browsers would not learn, that they are using a wrong URL. Regards, Rainer Dan Beaulieu wrote: I am trying to migrate our current system of apache/jserv to apache tomcat using modjk. I am trying

RE: [Apache2.2.4/modjk/Tomcat6.0.13] redirect url problem

2007-07-24 Thread Dan Beaulieu
easily work for you: Add a RewriteLog with a high RewriteLogLevel (e.g. 9) and increase JkLogLevel to debug. Then you can follow the manipulation of the URL. Regards, Rainer Dan Beaulieu wrote: Thank you for the reply, I have played around with mod_rewrite, just can't seem to get it going. I