Re: Log4J qui cause un plantage de la console Jonas ?
Jean-Baptiste BRIAUD -- Novlog <[email protected]> Wed, 3 Aug 2011 18:10:46 +0200
| Newsgroups | gmane.comp.java.french.general |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-10--926802888 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 formons un club ! On 3 ao=FBt 2011, at 17:59, <[email protected]> wrote: > Tout d=92un coup je me sens moins seul =E0 fustiger le =AB XML&Maven = everywhere =BB J > =20 > Patrice > Troll feeder. > =20 > De : Sebastien Cesbron [mailto:[email protected]]=20 > Envoy=E9 : mercredi 3 ao=FBt 2011 17:55 > =C0 : java Java > Objet : Re: Log4J qui cause un plantage de la console Jonas ? > =20 > Salut >=20 > Le seul probl=E8me que je vois c'est que c'est du xml et que du coup = c'est illisible, un bon log4j.properties aurait =E9t=E9 plus simple =E0 = lire >=20 > Bon aller j'arr=EAte avec le mauvais esprit et je retourne bosser > Seb >=20 > Le 3 ao=FBt 2011 17:10, Jean-Baptiste BRIAUD -- Novlog = <[email protected]> a =E9crit : > re Bonjour =E0 tous, >=20 > J'obtenais une NPE en pointant mon navigateur pour utiliser la console = d'admin de Jonas. >=20 > Apr=E8s investigation, l'erreur disparait si je n'utilise pas le = fichier de config log4j.xml suivant. >=20 > Est-ce qu'il y aurait un probl=E8me dans ce fichier ? >=20 > Merci de votre aide ! >=20 > <?xml version=3D"1.0" encoding=3D"UTF-8" ?> > <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> >=20 > <log4j:configuration xmlns:log4j=3D"http://jakarta.apache.org/log4j/"> >=20 > <appender name=3D"console" class=3D"org.apache.log4j.ConsoleAppender"> > <param name=3D"Target" value=3D"System.out"/> > <layout class=3D"org.apache.log4j.PatternLayout"> > <param name=3D"ConversionPattern" value=3D"%-5p %c{1} - %m%n"/> > </layout> > </appender> >=20 > <root> > <priority value =3D"debug" /> > <appender-ref ref=3D"console" /> > </root> >=20 > </log4j:configuration> > =20 > = **************************************************************************= ****** > IMPORTANT.Les informations contenues dans ce message electronique y = compris les fichiers attaches sont strictement confidentielles > et peuvent etre protegees par la loi. > Ce message electronique est destine exclusivement au(x) = destinataire(s) mentionne(s) ci-dessus. > Si vous avez recu ce message par erreur ou s il ne vous est pas = destine, veuillez immediatement le signaler a l expediteur et effacer = ce message=20 > et tous les fichiers eventuellement attaches. > Toute lecture, exploitation ou transmission des informations contenues = dans ce message est interdite. > Tout message electronique est susceptible d alteration. > A ce titre, le Groupe France Telecom decline toute responsabilite = notamment s il a ete altere, deforme ou falsifie. > De meme, il appartient au destinataire de s assurer de l absence de = tout virus. >=20 > IMPORTANT.This e-mail message and any attachments are strictly = confidential and may be protected by law. This message is > intended only for the named recipient(s) above. > If you have received this message in error, or are not the named = recipient(s), please immediately notify the sender and delete this = e-mail message. > Any unauthorized view, usage or disclosure ofthis message is = prohibited. > Since e-mail messages may not be reliable, France Telecom Group shall = not be liable for any message if modified, changed or falsified. > Additionally the recipient should ensure they are actually virus free. > = **************************************************************************= ****** --Apple-Mail-10--926802888 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = ">formons un club !<div><div><br><div><div>On 3 ao=FBt 2011, at 17:59, = <<a = href=3D"mailto:[email protected]">patrice.godard@orange-ft= group.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; = font-family: Helvetica; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: = none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div = lang=3D"FR" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" = style=3D"page: WordSection1; "><div style=3D"margin-top: 0cm; = margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: = 12pt; font-family: 'Times New Roman', serif; ">Tout d=92un coup je me = sens moins seul =E0 fustiger le =AB XML&Maven = everywhere =BB <span style=3D"font-family: Wingdings; = ">J</span><o:p></o:p></div><div style=3D"margin-top: 0cm; margin-right: = 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; = font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div = style=3D"margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; = margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New = Roman', serif; ">Patrice<o:p></o:p></div><div style=3D"margin-top: 0cm; = margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: = 12pt; font-family: 'Times New Roman', serif; "><b><span = style=3D"font-size: 9pt; color: rgb(31, 73, 125); ">Troll = feeder.<o:p></o:p></span></b></div><div style=3D"margin-top: 0cm; = margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: = 12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: = 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); = "><o:p> </o:p></span></div><div style=3D"border-top-style: none; = border-right-style: none; border-bottom-style: none; border-width: = initial; border-color: initial; border-left-style: solid; = border-left-color: blue; border-left-width: 1.5pt; padding-top: 0cm; = padding-right: 0cm; padding-bottom: 0cm; padding-left: 4pt; "><div><div = style=3D"border-right-style: none; border-bottom-style: none; = border-left-style: none; border-width: initial; border-color: initial; = border-top-style: solid; border-top-color: rgb(181, 196, 223); = border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; = padding-bottom: 0cm; padding-left: 0cm; "><div style=3D"margin-top: 0cm; = margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: = 12pt; font-family: 'Times New Roman', serif; "><b><span = style=3D"font-size: 10pt; font-family: Tahoma, sans-serif; = ">De :</span></b><span style=3D"font-size: 10pt; font-family: = Tahoma, sans-serif; "><span = class=3D"Apple-converted-space"> </span>Sebastien Cesbron = [mailto:[email protected]]<span = class=3D"Apple-converted-space"> </span><br><b>Envoy=E9 :</b><sp= an class=3D"Apple-converted-space"> </span>mercredi 3 ao=FBt 2011 = 17:55<br><b>=C0 :</b><span = class=3D"Apple-converted-space"> </span>java = Java<br><b>Objet :</b><span = class=3D"Apple-converted-space"> </span>Re: Log4J qui cause un = plantage de la console Jonas ?<o:p></o:p></span></div></div></div><div = style=3D"margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; = margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New = Roman', serif; "><o:p> </o:p></div><p class=3D"MsoNormal" = style=3D"margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; = margin-bottom: 12pt; font-size: 12pt; font-family: 'Times New Roman', = serif; ">Salut<br><br>Le seul probl=E8me que je vois c'est que c'est du = xml et que du coup c'est illisible, un bon log4j.properties aurait =E9t=E9= plus simple =E0 lire<br><br>Bon aller j'arr=EAte avec le mauvais esprit = et je retourne bosser<br>Seb<o:p></o:p></p><div><div style=3D"margin-top: = 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; = font-size: 12pt; font-family: 'Times New Roman', serif; ">Le 3 ao=FBt = 2011 17:10, Jean-Baptiste BRIAUD -- Novlog <<a = href=3D"mailto:[email protected]" style=3D"color: blue; = text-decoration: underline; ">[email protected]</a>> a =E9crit = :<o:p></o:p></div><div style=3D"margin-top: 0cm; margin-right: 0cm; = margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: = 'Times New Roman', serif; ">re Bonjour =E0 tous,<br><br>J'obtenais une = NPE en pointant mon navigateur pour utiliser la console d'admin de = Jonas.<br><br>Apr=E8s investigation, l'erreur disparait si je n'utilise = pas le fichier de config log4j.xml suivant.<br><br>Est-ce qu'il y aurait = un probl=E8me dans ce fichier ?<br><br>Merci de votre aide = !<br><br><?xml version=3D"1.0" encoding=3D"UTF-8" = ?><br><!DOCTYPE log4j:configuration SYSTEM = "log4j.dtd"><br><br><log4j:configuration xmlns:log4j=3D"<a = href=3D"http://jakarta.apache.org/log4j/" target=3D"_blank" = style=3D"color: blue; text-decoration: underline; = ">http://jakarta.apache.org/log4j/</a>"><br><br> <appender = name=3D"console" class=3D"org.apache.log4j.ConsoleAppender"><br> = <param name=3D"Target" value=3D"System.out"/><br> = <layout class=3D"org.apache.log4j.PatternLayout"><br> = <param name=3D"ConversionPattern" value=3D"%-5p %c{1} - = %m%n"/><br> = </layout><br> </appender><br><br> <root>= <br> <priority value =3D"debug" /><br> = <appender-ref ref=3D"console" = /><br> </root><br><br></log4j:configuration><o:p></o:p= ></div></div><div style=3D"margin-top: 0cm; margin-right: 0cm; = margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: = 'Times New Roman', serif; = "><o:p> </o:p></div></div></div><pre>********************************= ************************************************ IMPORTANT.Les informations contenues dans ce message electronique y = compris les fichiers attaches sont strictement confidentielles et peuvent etre protegees par la loi. Ce message electronique est destine exclusivement au(x) destinataire(s) = mentionne(s) ci-dessus. Si vous avez recu ce message par erreur ou s il ne vous est pas destine, = veuillez immediatement le signaler a l expediteur et effacer ce message=20= et tous les fichiers eventuellement attaches. Toute lecture, exploitation ou transmission des informations contenues = dans ce message est interdite. Tout message electronique est susceptible d alteration. A ce titre, le Groupe France Telecom decline toute responsabilite = notamment s il a ete altere, deforme ou falsifie. De meme, il appartient au destinataire de s assurer de l absence de tout = virus. IMPORTANT.This e-mail message and any attachments are strictly = confidential and may be protected by law. This message is intended only for the named recipient(s) above. If you have received this message in error, or are not the named = recipient(s), please immediately notify the sender and delete this = e-mail message. Any unauthorized view, usage or disclosure ofthis message is prohibited. Since e-mail messages may not be reliable, France Telecom Group shall = not be liable for any message if modified, changed or falsified. Additionally the recipient should ensure they are actually virus free. = **************************************************************************= ****** </pre></div></span></blockquote></div><br></div></div></body></html>= --Apple-Mail-10--926802888--