-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pid,
On 12/10/2010 9:27 AM, Pid wrote: > On 12/10/10 2:43 AM, cpanon wrote: >> Hello >> I agree it should be simple and in the IDE it works fine. In simple >> production >> environment on Windows Servers it fails. In simple production environment >> on a >> WinXPP it works. It cant get any more discipline testing than that. >> Nothing >> changes other than the deployment OS. >> >> >> I am loading an applet and I can synthesize my location as >> codebase+"WEB-INF/classes/log4j.properties but even the working IDE >> environment >> fails. I am doing a >> prop.load(getClass().getResourceAsStream(codebase+"WEB-INF/classes/log4j.properties")). >> >> Now neither environment works. Ideas? > > Is the log4j property file loading code inside an applet or inside a web > application? Great question: I hadn't considered an applet being part of the equation, though the use of the word "codebase" is certainly a tip. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0CVaMACgkQ9CaO5/Lv0PAeDgCgq0oAQJEwWVRPkuFHEAxP4A2c 9VwAnjxATjWi2q4kF9Ia6upSD/pIHCBD =GMZT -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org