Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 54594 invoked from network); 10 Dec 2010 02:58:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Dec 2010 02:58:06 -0000 Received: (qmail 45289 invoked by uid 500); 10 Dec 2010 02:58:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 45156 invoked by uid 500); 10 Dec 2010 02:58:02 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 45147 invoked by uid 99); 10 Dec 2010 02:58:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 02:58:02 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.55.111.95 as permitted sender) Received: from [65.55.111.95] (HELO blu0-omc2-s20.blu0.hotmail.com) (65.55.111.95) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 02:57:53 +0000 Received: from BLU142-W7 ([65.55.111.73]) by blu0-omc2-s20.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 9 Dec 2010 18:57:32 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_4e87cfc4-8db4-4198-9eb0-f089f5840c13_" X-Originating-IP: [71.192.158.205] From: Martin Gainty To: Tomcat Users List Subject: RE: deploy log4j Date: Thu, 9 Dec 2010 21:57:31 -0500 Importance: Normal In-Reply-To: <333824.34672.qm@web120702.mail.ne1.yahoo.com> References: <642383.27771.qm@web120704.mail.ne1.yahoo.com> <303820.96568.qm@web56605.mail.re3.yahoo.com> <403825.94739.qm@web120714.mail.ne1.yahoo.com> <4D0137EE.5090901@christopherschultz.net> <958941.61858.qm@web56607.mail.re3.yahoo.com> <4D014C13.4040104@christopherschultz.net>,<333824.34672.qm@web120702.mail.ne1.yahoo.com> MIME-Version: 1.0 X-OriginalArrivalTime: 10 Dec 2010 02:57:32.0320 (UTC) FILETIME=[FD654A00:01CB9815] X-Virus-Checked: Checked by ClamAV on apache.org --_4e87cfc4-8db4-4198-9eb0-f089f5840c13_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable you need to package everything (including log4j classes) into the applet zi= p file for IO you'll need the browser operator a mechanism to grant IO permissions the accepted solution is to create a cert associated with the applet which = will grant (read and write) IO permissions http://www.captain.at/programming/java/ Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > Date: Thu=2C 9 Dec 2010 18:43:39 -0800 > From: cpanon@yahoo.com > Subject: Re: deploy log4j > To: users@tomcat.apache.org >=20 > Hello > I agree it should be simple and in the IDE it works fine. In simple prod= uction=20 > environment on Windows Servers it fails. In simple production environmen= t on a=20 > WinXPP it works. It cant get any more discipline testing than that. Not= hing=20 > changes other than the deployment OS. =20 >=20 >=20 > I am loading an applet and I can synthesize my location as=20 > codebase+"WEB-INF/classes/log4j.properties but even the working IDE envir= onment=20 > fails. I am doing a=20 > prop.load(getClass().getResourceAsStream(codebase+"WEB-INF/classes/log4j.= properties")).=20 > Now neither environment works. Ideas? >=20 >=20 >=20 >=20 > ________________________________ > From: Christopher Schultz > To: Tomcat Users List > Sent: Thu=2C December 9=2C 2010 4:37:23 PM > Subject: Re: deploy log4j >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Mark=2C >=20 > On 12/9/2010 3:44 PM=2C Mark Eggers wrote: > > I didn't get any errors. >=20 > Nor do we: we use log4j for application logging=2C have log4j.jar in > WEB-INF/lib=2C have our log4j.properties in > WEB-INF/classes/log4j.properties=2C and use the following code to > configure our logging system: >=20 > new PropertyConfigurator()=3B >=20 > It couldn't be simpler than that if you ask me. >=20 > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >=20 > iEYEARECAAYFAk0BTBMACgkQ9CaO5/Lv0PBiZgCfY2ajcRb5kgt5ODC4/hx8UaBW > 48kAoK0a1Dq/wxwSsXsVrjNWBJwo0IXc > =3Deyxa > -----END PGP SIGNATURE----- >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org = --_4e87cfc4-8db4-4198-9eb0-f089f5840c13_--