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 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-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 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 in the

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 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 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 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-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
find some expertise on this mailing list... I tried your suggestion and guess what, it didn't make any difference. Thomas Thomas Kloeber wrote: 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

Re: Where does my stderr go?

2010-12-14 Thread Thomas Kloeber
the loggin level to debug, but it doesn't make any difference. Any other ideas? Thomas André Warnier wrote on 13.12.2010 16:56: 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

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: How to configure a web app

2010-06-10 Thread Thomas Kloeber
Chris, Christopher Schultz wrote on 09.06.2010 20:31: It's not terribly unusual to roll a client-specific WAR file for some reason. In what way does Tomcat interfere with your ability to build a client-specific WAR? Tomcat should not be involved in the WAR-creation process. ok, it looks

How to configure a web app

2010-06-09 Thread Thomas Kloeber
Dear List, I'm a newbie to Apache and Tomcat, so pls forgive my ignorance. I have the following problem/question: I have a web application which needs to be configured with site-specific information when/after it is deployed. What is the best/proper way of doing this? Right now I use an

Re: How to configure a web app

2010-06-09 Thread Thomas Kloeber
Pid wrote on 09.06.2010 14:00: Depends what the information you need to store is. Maybe you can elucidate? I need to set user and password for SPNEGO filter and the location of krb5.conf/login.conf in web.xml, and I need to set an IP address of a backend-server for one of my servlets in

Re: How to configure a web app

2010-06-09 Thread Thomas Kloeber
Leon Rosenberg wrote on 09.06.2010 14:53: http://www.configureme.org it supports hot updates of the configs, if you update the configs after the application has been started the configured parts will be reconfigured. thanx for the idea. But I'm not looking for a configuration of my app but

Re: How to configure a web app

2010-06-09 Thread Thomas Kloeber
André Warnier wrote on 09.06.2010 15:20: Inthink you should have a look at the Manager application (delivered along with Tomcat when downloading from the main Tomcat site). The Manager allows you to deploy, undelploy, start and stop one application, without stopping/restarting Tomcat as a

Re: How to configure a web app

2010-06-09 Thread Thomas Kloeber
David kerber wrote on 09.06.2010 15:45: On 6/9/2010 9:36 AM, Thomas Kloeber wrote: Is this such an unusal thing that one has to configure webapp files with site specific information? Beyond 1-time initial configuration, I would say it is unusual. it is a 1-time configuration, not something

Re: How to configure a web app

2010-06-09 Thread Thomas Kloeber
David kerber wrote on 09.06.2010 16:32: On 6/9/2010 10:19 AM, Thomas Kloeber wrote: * the IP address of the backing database is one of the parameters that needs to be configured (in context.xml), so I can't get any data from the db unless it is configured... * the other

Re: How to configure a web app

2010-06-09 Thread Thomas Kloeber
Ognjen Blagojevic wrote on 09.06.2010 16:46: I pack different war files for several clients. They only differ in context.xml and log4j.properties files. My packaging tool (Maven) take care of this. that is something I actually want to avoid, it seems a terrible overhead (depending on the

Re: How to configure a web app

2010-06-09 Thread Thomas Kloeber
Mark H. Wood wrote on 09.06.2010 17:03: On Wed, Jun 09, 2010 at 04:19:17PM +0200, Thomas Kloeber wrote: the problems I have are: * the IP address of the backing database is one of the parameters that needs to be configured (in context.xml), so I can't get any data from