context.xml, hotdeploy

2008-06-13 Thread Fu-Tung Cheng
Hi Mark, Yeah I don't think the cleanup for 42747 will help with this issue. The other thing that I forgot to mention is that the behavior is inconsistent between exploded deployment and war deployment. In war deployment the file will be copied to the conf/Catalina location. In exploded depl

hotdeploy of war files results in static variable being null

2008-07-23 Thread Fu-Tung Cheng
Hi, I sometime hotdeploy my war file to tomcat 6.0.16. I have noticed that a static variable in one of my classes then ends up being null. The variable is initialized as follows: private static Logger logger = Logger.getLogger(MyClass.class); and then used below in a method: public void myme

Re: hotdeploy of war files results in static variable being null

2008-07-23 Thread Fu-Tung Cheng
che.org/jakarta-commons/Logging/StaticLog > > One possible solution would be not to use static loggers. > > Best regards, > -Felix > > > Fu-Tung Cheng wrote: > > Hi, > > > > I sometime hotdeploy my war file to tomcat 6.0.16. I > have noticed that

ant download - failed

2008-08-05 Thread Fu-Tung Cheng
Hi, I am just trying to build tomcat for the first time. I have jdk 1.6.0.03-b05 and ant 1.7.0 and I am using the source download 6.0.18. This is on windows xp. I am following the steps from : http://tomcat.apache.org/tomcat-6.0-doc/building.html Following is the error extract. Thank you,

Re: ant download - failed

2008-08-05 Thread Fu-Tung Cheng
u-Tung --- On Tue, 8/5/08, Mark Thomas <[EMAIL PROTECTED]> wrote: > From: Mark Thomas <[EMAIL PROTECTED]> > Subject: Re: ant download - failed > To: "Tomcat Developers List" > Date: Tuesday, August 5, 2008, 8:26 AM > Fu-Tung Cheng wrote: > > Hi, > &

overwrite bin/tomcat-juli.jar with extras/tomcat-juli.jar results in ClassNotFound

2008-08-05 Thread Fu-Tung Cheng
I am trying to follow the log4j setup for tomcat found here: http://tomcat.apache.org/tomcat-6.0-doc/logging.html I built the extras and replaced the jar files as directed but now I get an exception at startup: The stack trace follows. In general though the problem appears to be that the extr

Re: overwrite bin/tomcat-juli.jar with extras/tomcat-juli.jar results in ClassNotFound

2008-08-05 Thread Fu-Tung Cheng
I figured out the issue. I needed to run the normal ant before ant -f extras.xml. Thanks, Fu-Tung --- On Tue, 8/5/08, Fu-Tung Cheng <[EMAIL PROTECTED]> wrote: > From: Fu-Tung Cheng <[EMAIL PROTECTED]> > Subject: overwrite bin/tomcat-juli.jar with extras/tomcat-j

Default tomcat logging configuration not log4j, why?

2008-08-07 Thread Fu-Tung Cheng
Hi, Before I switch my production server to use the log4j logging methods as detailed below. I was wondering why this isn't the default configuration. Is there a disadvantage to using log4j as the default logger? http://tomcat.apache.org/tomcat-6.0-doc/logging.html Thank you, Fu-Tung