[From nobody Fri Aug 6 17:09:16 2004 Return-Path: <thomas.huesler@tietoenator.com> Received: from hazard.mail.atl.earthlink.net (hazard.mail.atl.earthlink.net [207.69.200.161]) by jhunter.xquery.com (8.12.8/8.12.9) with ESMTP id i3K7jZ8B006795 for <jhunter@xquery.com>; Tue, 20 Apr 2004 00:45:35 -0700 Received: from james.mail.atl.earthlink.net ([207.69.200.159]) by hazard.mail.atl.earthlink.net with smtp (Exim 3.36 #1) id 1BFq8R-0003iv-00 for jhunter@xquery.com; Tue, 20 Apr 2004 03:57:39 -0400 X-MindSpring-Loop: servlets@mindspring.com Received: from mail3.firstlink.com ([66.37.141.15]) by james.mail.atl.earthlink.net (EarthLink SMTP Server) with ESMTP id 1bfQ423YR3Nl3r10 for <servlets@mindspring.com>; Tue, 20 Apr 2004 03:53:06 -0400 (EDT) Received: from relay6.firstlink.com (relay6.firstlink.com [66.37.141.34]) by mail3.firstlink.com (Postfix) with ESMTP id 7BD48E1AF9 for <jhunter@servlets.com>; Tue, 20 Apr 2004 01:53:05 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by relay6.firstlink.com (Postfix) with ESMTP id 313165820C for <jhunter@servlets.com>; Tue, 20 Apr 2004 01:53:05 -0600 (MDT) Received: from relay6.firstlink.com ([127.0.0.1]) by localhost (relay6.firstlink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 70451-02 for <jhunter@servlets.com>; Tue, 20 Apr 2004 01:52:59 -0600 (MDT) Received: from exsrvham2.enator.de (unknown [62.153.155.4]) by relay6.firstlink.com (Postfix) with ESMTP id 32501581EA for <jhunter@servlets.com>; Tue, 20 Apr 2004 01:52:57 -0600 (MDT) Received: by exsrvham2.enator.de with Internet Mail Service (5.5.2653.19) id <G0DBCCDC>; Tue, 20 Apr 2004 09:52:06 +0200 Message-ID: <46FD2EA0FF2F3B41AE657FA183FCD1782E62D5@EXSRVCH> From: Thomas Huesler <thomas.huesler@tietoenator.com> To: "'jhunter@servlets.com'" <jhunter@servlets.com>, "'brett@newInstance.com'" <brett@newInstance.com> Cc: Daniel Gauch <Daniel.Gauch@tietoenator.com> Subject: Jdom 0.9 changes Date: Tue, 20 Apr 2004 09:57:04 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C426AD.121B8E50" X-Virus-Scanned: by First Link Technology, Inc. X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on jhunter.xquery.com X-Spam-Status: No, hits=-4.5 required=5.0 tests=BAYES_00, HTML_FONTCOLOR_BLUE, HTML_MESSAGE autolearn=no version=2.63 X-Spam-Level: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C426AD.121B8E50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi there When using the JDom0.9 release in a J2EE application on Jboss I got in = some troubles with the classloading stuff... When debugging in the Jdom code = is saw that there are some usages of Class.forName() asf... Actually this = was not working as I got the wrong classloader with this call... So I = changed the whole code to use Thread.currentThread().getContextClassLoader().loadClass()... Now = everything is working...=20 If you're interested in details or the changed code let me know. Tom ------------------------------------------------------------------ Thomas H=FCsler * TietoEnator Consulting AG Industriestrasse 19 * 8304 Wallisellen * Switzerland Tel. +41 (0)43 233 45 28 * Fax +41 (0)43 233 45 10 mailto:Thomas.Huesler@TietoEnator.com <mailto:Thomas.Huesler@TietoEnator.com>=20 http://www.tietoenator.ch <http://www.tietoenator.ch/>=20 ------_=_NextPart_001_01C426AD.121B8E50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>Jdom 0.9 changes</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2 FACE=3D"Arial">Hi there</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">When using the JDom0.9 release in a = J2EE application on Jboss I got in some troubles with the classloading = stuff... When debugging in the Jdom code is saw that there are some = usages of Class.forName() asf... Actually this was not working as I got = the wrong classloader with this call... So I changed the whole code to = use Thread.currentThread().getContextClassLoader().loadClass()... Now = everything is working... </FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">If you're interested in details or the = changed code let me know.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Tom</FONT> <P ALIGN=3DCENTER><FONT SIZE=3D2 = FACE=3D"Tahoma">--------------------------------------------------------= ----------<BR> Thomas H=FCsler=A0* TietoEnator Consulting AG<BR> Industriestrasse 19 * 8304 Wallisellen * Switzerland<BR> Tel. +41 (0)43 233 45 28 * Fax +41 (0)43 233 45 10<BR> </FONT><A HREF=3D"mailto:Thomas.Huesler@TietoEnator.com"><U><FONT = COLOR=3D"#0000FF" SIZE=3D2 = FACE=3D"Tahoma">mailto:Thomas.Huesler@TietoEnator.com</FONT></U></A></P>= <P ALIGN=3DCENTER><A = HREF=3D"http://www.tietoenator.ch/"><U></U><U></U><U><FONT = COLOR=3D"#0000FF" SIZE=3D2 = FACE=3D"Tahoma">http://www.tietoenator.ch</FONT></U></A></P> <BR> </BODY> </HTML> ------_=_NextPart_001_01C426AD.121B8E50-- ]