Re: Where does my stderr go?

2011-01-11 Thread Thomas Kloeber
Konstantin Kolinko wrote on 11.01.2011 08:55: 2011/1/11 Thomas Kloeberkloe...@ics.de: Konstantin, Konstantin Kolinko wrote on 11.01.2011 01:03: https://issues.apache.org/bugzilla/show_bug.cgi?id=18462 thanks for sending this link. I'm surprised that this is such an old issue! So, if I

Re: Where does my stderr go?

2011-01-10 Thread Konstantin Kolinko
by the JVM?  Is this one of those swalloutOutput instances? Someone else might be able to answer. From: Thomas Kloeber [mailto:kloe...@ics.de] Sent: Friday, January 07, 2011 9:11 AM To: 'Tomcat Users List' Subject: Re: Where does my stderr go? Jeffrey Janner wrote on 07.01.2011 16:00: You

Re: Where does my stderr go?

2011-01-10 Thread Thomas Kloeber
Konstantin, Konstantin Kolinko wrote on 11.01.2011 01:03: https://issues.apache.org/bugzilla/show_bug.cgi?id=18462 thanks for sending this link. I'm surprised that this is such an old issue! So, if I understand the discussion correctly, Tomcat redirects stderr into stdout_XXX.log, right?

Re: Where does my stderr go?

2011-01-10 Thread Konstantin Kolinko
2011/1/11 Thomas Kloeber kloe...@ics.de: Konstantin, Konstantin Kolinko wrote on 11.01.2011 01:03: https://issues.apache.org/bugzilla/show_bug.cgi?id=18462 thanks for sending this link. I'm surprised that this is such an old issue! So, if I understand the discussion correctly, Tomcat

Re: Where does my stderr go?

2011-01-07 Thread Thomas Kloeber
This must have fallen into the Christmas/New Year Hole... ;) Anybody out there can help me with my stderr etc issue? Thomas PS: happy new year to all... Original Message Subject:Re: Where does my stderr go? Date: Wed, 22 Dec 2010 12:35:14 +0100 From: Thomas

RE: Where does my stderr go?

2011-01-07 Thread Jeffrey Janner
Thomas – You assumption in the original post is wrong. Jeff From: Thomas Kloeber [mailto:kloe...@ics.de] Sent: Friday, January 07, 2011 5:59 AM To: Tomcat Users List Subject: Re: Where does my stderr go? This must have fallen into the Christmas/New Year Hole... ;) Anybody out there can help me

Re: Where does my stderr go?

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 1/7/2011 6:58 AM, Thomas Kloeber wrote: This must have fallen into the Christmas/New Year Hole... ;) I think so :) Some additional info, which I just saw and which looks strange to me: the stdout_XXX.log doesn't change it's date.

Re: Where does my stderr go?

2011-01-07 Thread Thomas Kloeber
Jeffrey Janner wrote on 07.01.2011 16:00: You assumption in the original post is wrong. mailto:users@tomcat.apache.orgokay, I thought I'd seen something like what I assumed... So it brings me back to my original question of this thread: where does my stderr go, if it does not appear

RE: Where does my stderr go?

2011-01-07 Thread Jeffrey Janner
Kloeber [mailto:kloe...@ics.de] Sent: Friday, January 07, 2011 9:11 AM To: 'Tomcat Users List' Subject: Re: Where does my stderr go? Jeffrey Janner wrote on 07.01.2011 16:00: You assumption in the original post is wrong. okay, I thought I'd seen something like what I assumed... So it brings me back

Re: Where does my stderr go?

2010-12-22 Thread Thomas Kloeber
Some additional info, which I just saw and which looks strange to me: the stdout_XXX.log doesn't change it's date. That is to say that I have stdout_20101221.log which also contains log entries from today, 12-22. I was under the impression that Tomcat automatically closes the file at midnight

Re: Where does my stderr go?

2010-12-22 Thread Konstantin Kolinko
2010/12/22 Thomas Kloeber kloe...@ics.de: Some additional info, which I just saw and which looks strange to me: the stdout_XXX.log doesn't change it's date. That is to say that I have stdout_20101221.log which also contains log entries from today, 12-22. I was under the impression that Tomcat

Re: Where does my stderr go?

2010-12-22 Thread Thomas Kloeber
Konstantin Kolinko wrote on 22.12.2010 12:44: 2010/12/22 Thomas Kloeberkloe...@ics.de: Some additional info, which I just saw and which looks strange to me: the stdout_XXX.log doesn't change it's date. That is to say that I have stdout_20101221.log which also contains log entries from today,

Re: Where does my stderr go?

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 12/21/2010 2:43 AM, Thomas Kloeber wrote: I'm not sure if Tomcat's service wrapper will fail silently or angrily if files cannot be created. If I were you, I'd specify an exact filename, including full path, for the Redirect Stdout and

Re: Where does my stderr go?

2010-12-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 12/21/2010 2:43 AM, Thomas Kloeber wrote: I'm not sure if Tomcat's service wrapper will fail silently or angrily if files cannot be created. If I were you, I'd specify an exact filename, including full path,

Re: Where does my stderr go?

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/21/2010 3:50 PM, André Warnier wrote: And if, in the tomcat6w.exe gui, you navigate to the Java tab, what are the options mentioned there for the JVM ? (There might be a -D there which redirects the JVM stderr) (which is really the

Re: Where does my stderr go?

2010-12-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/21/2010 3:50 PM, André Warnier wrote: And if, in the tomcat6w.exe gui, you navigate to the Java tab, what are the options mentioned there for the JVM ? (There might be a -D there which redirects the JVM

Re: Where does my stderr go?

2010-12-21 Thread Thomas Kloeber
André Warnier wrote on 21.12.2010 21:50: And if, in the tomcat6w.exe gui, you navigate to the Java tab, what are the options mentioned there for the JVM ? (There might be a -D there which redirects the JVM stderr) (which is really the stderr you are looking for here). following are the settings

Re: Where does my stderr go?

2010-12-20 Thread Thomas Kloeber
Hi Chris, Christopher Schultz wrote on 17.12.2010 18:55: I can see an stderr file in there. Were you expecting anything to be in it immediately after startup? Silly question: how are you writing to stderr? yes, I put some output in one of my servlets, just to test this. I'm using System.stderr

Re: Where does my stderr go?

2010-12-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 12/20/2010 3:40 AM, Thomas Kloeber wrote: Hi Chris, Christopher Schultz wrote on 17.12.2010 18:55: I can see an stderr file in there. Were you expecting anything to be in it immediately after startup? Silly question: how are you

Re: Where does my stderr go?

2010-12-20 Thread Thomas Kloeber
Chris, Christopher Schultz wrote on 20.12.2010 21:29: No wonder it's not working: System.stdout and System.stderr don't exist as far as I know. Did you mean System.err and System.out? Precision counts, especially when things aren't working the way you expect them to be. you are right. Of

Re: Where does my stderr go?

2010-12-17 Thread Michael Ludwig
Thomas Kloeber schrieb am 17.12.2010 um 08:45 (+0100): hmmm, I'm not sure if the attachment of my last post got through. It did get through. How can I post files on the list? You could use http://pastebin.com/ or a similar service and post the URL. Might even be the preferred way for large

Re: Where does my stderr go?

2010-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 12/17/2010 2:38 AM, Thomas Kloeber wrote: I changed the auto-settings for Stdout and Stderr in tomcat6w to C:\tmp. Tomcat duly created the files there, but stderr still remains empty. I now changed the logging settings back to auto,

Re: Where does my stderr go?

2010-12-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 12/16/2010 2:52 AM, Thomas Kloeber wrote: thanx for your helpful answer. Believe me, before I post on a mailing list or forum I spent a long time trying to fix my problems. In this case I ran out of ideas, so I was hoping I would find

Re: Where does my stderr go?

2010-12-16 Thread Thomas Kloeber
hmmm, I'm not sure if the attachment of my last post got through. How can I post files on the list? I just got the following message: nad...@zycus.com wrote on 17.12.2010 08:36: . The scanned document was QUARANTINED. Violation Information: The filename extension of attachment logs.zip

Re: Where does my stderr go?

2010-12-15 Thread Thomas Kloeber
Andre, André Warnier wrote on 14.12.2010 11:10: Yes. What about these ? * Redirect Stdout: auto * Redirect Stderr: auto Do you know what that does ? Why don't you try to set the Redirect Stderr to some file path on your server, and see what arrives in it ? You could also try to

Re: Where does my stderr go?

2010-12-14 Thread Thomas Kloeber
André, thanks for your suggestion. Yes, I run Tomcat as a service. I tried your suggestion and it looks all normal/ok. * Level: Info * Log path: my tomcat installation directory/logs * Log prefix: jakarta_service_ * Redirect Stdout: auto * Redirect Stderr: auto I tried changing

Re: Where does my stderr go?

2010-12-14 Thread André Warnier
Yes. What about these ? * Redirect Stdout: auto * Redirect Stderr: auto Do you know what that does ? Why don't you try to set the Redirect Stderr to some file path on your server, and see what arrives in it ? You could also try to look in the Windows Event Logs, in case anything

Where does my stderr go?

2010-12-13 Thread Thomas Kloeber
Folks'es, I have a strange problem with my Tomcat-Servlets: everything my servlets print out via System.err is lost and does not show up in any of the log files. How can that be and what can I do about it? When I start Tomcat all the usual log files arecreated like

Re: Where does my stderr go?

2010-12-13 Thread André Warnier
Thomas Kloeber wrote: Folks'es, I have a strange problem with my Tomcat-Servlets: everything my servlets print out via System.err is lost and does not show up in any of the log files. How can that be and what can I do about it? When I start Tomcat all the usual log files arecreated