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 somewhere along the line, I made my <Context> tag this:

<Context path="" docBase=""   swallowOutput="true" debug="5"
        reloadable="true"
        antiResourceLocking="false" privileged="false">

As I'm sure you gurus know, the "debug=" attribute is not a documented attribute for the Context tag (I saw it somewhere, and put it in). Tomcat never did complain, but I removed it, making the Context tag this:

<Context path="" docBase=""   swallowOutput="true" reloadable="true"
        antiResourceLocking="false" privileged="false">

And now everything works. Not sure what happened. I did not start out with that in the context tag. I'm wondering if maybe I had an OS glitch?

Thanks for all the help!!
Allen Williams wrote:
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 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 along with your webapps, and see if your print and logging statements appear. Use the downloaded bin/startup.sh and bin/shutdown.sh scripts to start/stop Tomcat.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to