That makes sense, Tomcat 6 doesn't use commons logging by default
problem explained.
if you want tomcat to use commons logging, you could build the extras
package
Filip
On 08/08/2009 07:34 PM, Martin Gainty wrote:
getLogger() is a method from
It is the standard internal tomcat logging mechanism contained in the
distribution of tomcat 6, based on java.util.logging. I am not sure
exactly what you're saying, but it does not seem to be consistent with
the documentation here, which seems to indicate all this stuff is built-in:
I had added a few lines from the deployed version trying to get it to
work, but, on my tomcat5.5 system, this original code:
public class AppInitializer implements ServletContextListener
{
public void contextInitialized(ServletContextEvent e)
{
From: Allen Williams [mailto:anw-d...@infoisland.net]
Subject: Re: Console Output Not Going Anywhere
It is the standard internal tomcat logging mechanism contained in the
distribution of tomcat 6, based on java.util.logging.
1) What platform (OS) are you running on?
2) Are you using a
Eric B. wrote:
Mark Thomas ma...@apache.org wrote in message
news:4a7caf38.7060...@apache.org...
Eric B. wrote:
Hi,
I'm trying to understand how to enable some logging for a particular
class.
In org.apache.catalina.realm.JNDIRealm, there are log messages written
using
Debian 2.6.26, tomcat from the Debian package (apt-get, etc.), starting
it with the init.d script. I did find the startup command line had
output and error directed to SYSLOG, but I changed that and directed to
/var/log/tomcat6/stdout and /var/log/tomcat6/stderr; although there's a
few bytes
From: Allen Williams [mailto:anw-d...@infoisland.net]
Subject: Re: Console Output Not Going Anywhere
Debian 2.6.26, tomcat from the Debian package (apt-get, etc.), starting
it with the init.d script.
Just for grins, try downloading the 6.0.20 tarball from tomcat.apache.org,
install that
work well enough for me. We already stored some info in the session
so that we could also determine the user who is associated with the
session among others, so we just created an object to hold this info
and it implements HttpSessionActivationListener and sure enough, on
tomcat restart, it
From: David Wall [mailto:d.w...@computer.org]
Subject: Re: TC 6.0.20 - how to know session restored on restart?
This must be a multi-thread timing issue because I had
not had this happen on several other restarts.
AFAIK, Tomcat initialization is single-thread.
Does this behavior make
That sounds like it might be a bit time consuming. I don't mind trying
it, but I'm going to be traveling next week, so I'll have to do it when
I return.
Caldarale, Charles R wrote:
From: Allen Williams [mailto:anw-d...@infoisland.net]
Subject: Re: Console Output Not Going Anywhere
Debian
[r...@app1-testing ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 71680
max locked memory (kbytes, -l) 32
max
It's really quite quick:
-- Download the tarball from tomcat.apache.org;
-- Untar the ball in some convenient location (you don't need to touch
your existing setup).
-- Copy your war files from your existing webapps to the new webapps
-- Start the newly installed tomcat with bin/startup.sh
--
Well, I'm not too sure what I did, but now I'm getting the
System.err.println messages in the aforementioned stderr.log. After I
pointed (in the init.d script) command line arguments (outfile=... and
errfile=...) I started getting messages in this file, but none of mine.
I looked, and
Hi,
Thanks a lot! This was the solution to my problem.
I've another questions regarding WAR-specific configuration:
Is it possible to:
-) configure CLASSPATH extensions to single WAR files (maybe directly in
this config file (cont/Catalina/hostname/myApp.xml))
-) do configuration settings to
14 matches
Mail list logo