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 "" elements in server.xml.
In the default which coming with the tomcat packages, the appBase is
"webapps" which located in CATALINA_BASE. Ea
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 proper
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 pl
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 jstack
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 startup.bat