Re: mod_jk (1.2.14 1.2.15) bug

2005-12-23 Thread OG
Aaah, what a let down! :( I just patched 1.2.15 with the patch at: http://marc.theaimsgroup.com/?l=tomcat-devm=113397833612749w=2 Then I tested it (on Simpy.com) and found that the patch does _not_ fix the problem I was describing:

Re: log4j - Class.forname - black magie

2005-12-23 Thread Philippe LEGAY
Boris Unckel wrote: Good Morning, Philippe LEGAY wrote: Hello I succeed by black magie to have log via log4j under tomcat 5.5.9. So when a call my servlet, I have some trace into a file (/tmp/phl.log). I said black magie, because I had a lot of problems to put the log4.jar in the right

log4j: making standard error go to tomcat logs

2005-12-23 Thread Bill Comer
we have recently taken management of a web application that uses log4j. I am used to using java.util.logging.Logger I have setup the log4j.xml so that the logging messages go to the standrad tomcat log file. However stack traces still go to catalina.out. How can I get them to go to the tomcat

SOLVED RE: JRE versions (UNCLASSIFIED)

2005-12-23 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I don't have to read anything. I am a programmer, but I am not PROGRAMMED. Anyways, the issue is resolved -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 4:40 PM To: Tomcat Users List

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Stephen Caine
Chuck, For starters, I'd try -verbose:gc and perhaps -verbose:class to give you a general idea of what's happening when. There are many flavors of profilers out there, a lot of them free. (Our customers tend to go for the premium stuff like Wily Introscope, which definitely isn't

Season's Greetings

2005-12-23 Thread Carl Olivier
Greetings to all Tomcat folk! For all of you that celebrate Chrsitmas - a very merry one indeed! A big thank you to all the Tomcat contributors - for all the great work and effort being done in such a selfless way! I, for one, really appreciate your efforts! Regards, Carl

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Durfee, Bernard
Does Tomcat call releaseAll() when a web-app is undeployed? Bernie - It is very common to find a declaration like this: private static final Log log = LogFactory.getLog(MyClass.class); From the commons-logging API documentation: LogFactory needs to keep a static map of

Re: redirecting logging messages from a thread within a servlet

2005-12-23 Thread Martin Gainty
Good Morning Bill- It appears this is a synchronisation issue as you are not obtaining a lock on the object until both the Super class and your class are both being initialised (without exception) the quickest workaround is to declare the static field as final OR lock the object and then

Re: redirecting logging messages from a thread within a servlet

2005-12-23 Thread Boris Unckel
Hi Bill, hm, the same logger (name) is not necessarily the same instance due to org.apache.juli.ClassLoaderLogManager with TCCL approach. But a configuration entry should work for the same category. I am sorry, but I do not have my home computer here (somehow public terminal), I am not able to

Re: SOLVED RE: JRE versions (UNCLASSIFIED)

2005-12-23 Thread Steve Ochani
On 23 Dec 2005 at 8:44, Samara, Fadi N Mr ACSIM/ASPEX wrote: Classification: UNCLASSIFIED Caveats: NONE I don't have to read anything. I am a programmer, but I am not Nice attitude. Of course you don't *have to*, but the same goes for everyone else, they don't *have to* help you or

Re: restart servlet from cron

2005-12-23 Thread rusty+tomcat
Here's what's in one of my ant files to stop a web app. Start and restart are probably similar. taskdef name=tc-stop classname=org.apache.catalina.ant.StopTask / target name=tomcat-stop tc-stop url=http://myhost.mycompany.com/manager/; username=manager

Re: How to forward external-ip-facing requests from ApacheHTTPServer to Tomcat?

2005-12-23 Thread devlists
use mod_proxy, much easier, and in our tests has proven to scale better, and you will wanna look for a directive called ProxyHostPreserve so that request.getServerName returns the right name, then the IP address will be stored in x-forwarded-for header in the HTTP request. Filip Hello Everyone,