appBase and docBase in VirtualHosting Configuration of TC5.5

2007-12-15 Thread Penghui Wang
Dear, List, I have several websites and each site is a web application. If i wanna hosting all the sites in a single tomcat instance, i have to add several Host elements in server.xml. In the default Host which coming with the tomcat packages, the appBase is webapps which located in

log4j when using Bootstrap not command-line startup

2007-12-15 Thread lightbulb432
I'm running Tomcat not from the command-line but from the Bootstrap class's start() method. When I start it using the command-line, a logs/tomcat.log is created in CATALINA_BASE, but not when I start from the Bootstrap class. In fact, I get the log4j:WARN Please initialize the log4j system

Re: log4j when using Bootstrap not command-line startup

2007-12-15 Thread Martin Gainty
Lightbulb- to quote- http://www.slf4j.org/nlog4j/TROUBLESHOOT.html#noAppenders Log4j does not have a default logging target. It is the user's responsibility to ensure that all categories can inherit an appender. This can be easily achieved by attaching an appender to the root category. If you

Tomcat6 on windows - cpu 100%

2007-12-15 Thread daniel steel
hi all, I am having problem with tomcat6 with NIO connector / jdk 1.6.3 on windows 2k3 server. For some reason, after some time of use,tomcat starts pegging cpu at 80 -90 % and needs a restart. when i run tomcat status, i see one jsp that has been running for a long time.but when i run

Re: log4j when using Bootstrap not command-line startup

2007-12-15 Thread lightbulb432
Placing log4j's JAR into jre/lib/ext didn't cause the logs to appear. (I should mention that the logs I'm trying to control with log4j are Tomcat's internal logs, rather than web application logs.) The following command from the command line outputs the log as expected, as does calling