Ooops: Solved, sorry: using system variables in log4j config file not recognized in tomcat

2002-12-07 Thread Holger Wiechert
To those that are interested: I've had a spelling error - of course it has to be: set JAVA_OPTS=-DCATALINA_HOME=%CATALINA_HOME% -Ursprüngliche Nachricht- Von: Holger Wiechert [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 7. Dezember 2002 19:29 An: [EMAIL PROTECTED] Betreff: Solved, sorry

Solved, sorry: using system variables in log4j config file not recognized in tomcat

2002-12-07 Thread Holger Wiechert
Sorry, I should have been looking up the list first. Just found out why it doesn't work. I forgot to include the JVM property CATALINA_HOME in JAVA_OPTS: set JAVA_OPTS=%-DCATALINA_HOME=%CATALINA_HOME% Holger -Ursprüngliche Nachricht- Von: Holger Wiechert [mailto:[EMAIL PROTECTED]] Gesen

using system variables in log4j config file not recognized in tomcat

2002-12-07 Thread Holger Wiechert
I wonder about the reason that setting up a FileAppender using a system variable causes an initialization error for log4j when used in tomcat (Tomcat 4.1.12). I have the log4j.properties (see below) in the classes dir (packed in the application's war file). The line: log4j.appender.RFA.File=${CATA