Tomcat 5.0.28 - I miss catalina.out

2005-12-13 Thread KwonNam Son
On Windows, While running tomcat 5.0.28, I pressed Ctrl-Break for heap dump.
But there are a lot of messages, and because Tomcat does not write standard
output to log,
I could not read all the dump messages.

I can I get catalina.out work again??

Thanks,
KwonNam.


Tomcat 5.0.28 - How to save thread dump on Windows?

2005-12-14 Thread KwonNam Son
Hello,

I run tomcat 5.0.28 on windows,
Sometimes tomcat does nor response to browser's request.

Maybe I made some mistakes in thread related codes.

So I want to get thread dump of tomcat, but when I press Ctrl-Break, the
thread dump is not saved to a file(like catalina.out before).

How can I get thread dump saved to file?

Thanks,
KwonNam.


Why Tomcat uses ROOT context's log4j and log4j.properties?

2006-03-01 Thread KwonNam Son
Hello,
I have a problem that Tomcat uses ROOT web application context's
log4j-1.2.8.jar and log4j.properties.

I installed Tomcat 5.0.28, Java 1.4.2_09 and deployed root context web
application to $CATALINA_HOME/webapps/ROOT on Solaris 8.
I DO NOT change anything in $CATALIN_HOME/conf/server.xml.

And there are the following files

$CATALINA_HOME/webapps/ROOT/WEB-INF/lib/commons-logging.jar
$CATALINA_HOME/webapps/ROOT/WEB-INF/lib/log4j-1.2.8.jar
$CATALINA_HOME/webapps/ROOT/WEB-INF/classes/log4j.properties


$CATALINA_HOME/servers or common, share directory don't have any log4j
related files.

also system classpath variable does not include
$CATALINA_HOME/webapps/ROOT/WEB-INF/lib/*.jar or
$CATALINA_HOME/webapps/ROOT/WEB-INF/classes directory.
I also checked $JAVA_HOME/jre/lib/ext, there is nothing related to log4j.

But Tomcat uses log4j and log4j.properties settings for it's logging(of
course also for ROOT WebApp context's logging) not commons-logging's simple
logger.

What should I do for the tomcat not to use web context's log4j??

Also, I can see catalian.out, but actually after using Tomcat 5.0.28 on
other machine, I've never seen the file.

Regards,
KwonNam.