<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
<TITLE>RE: [jdom-interest] Using JDOM with ATG</TITLE>
</HEAD>
<BODY>
Not familiar with ATG, but I have used JBoss and came up with a similar problem.<BR>
<BR>
In JBoss, the default class loader setting allows "friendly" class loading, where if you have ear A and ear B with the same classes in it, and A loaded first, the references in B for a class will actually get the class from A.<BR>
<BR>
This is not a problem unless the class in A and B are of a different version.<BR>
<BR>
There is a setting in an xml file in the ear that turns it off for JBoss. Not sure where it would be (or if this is even the problem) in ATG.<BR>
<BR>
It sounds like something else in your app server uses either JDom or xerces, and your ear contains a different version which happens to load first or at least conflicts with the existing implementation in some way.<BR>
<BR>
I'm under the impression that quite a few app servers have this behavior, by the way. As far as I've heard, all versions which behave like this have a switch somehow that lets you turn it back to compliance.<BR>
<BR>
On Tue, 2005-03-01 at 12:08, Edelson, Justin wrote:
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#737373" SIZE="2"><I>I've used this combination without issue in the past and I don't see how</FONT><BR>
<FONT COLOR="#737373"></FONT><BR>
<FONT COLOR="#737373" SIZE="2">just putting JDOM in the classpath could cause errors on startup. What <BR>
specifically happened? </FONT><BR>
<FONT COLOR="#737373"></FONT><BR>
<FONT COLOR="#737373" SIZE="2">Incidentally, I don't think you need to put xerces.jar in the classpath.</FONT><BR>
<FONT COLOR="#737373"></FONT><BR>
<FONT COLOR="#737373" SIZE="2">I'm pretty sure Dynamo comes with it's own JAXP implementation (probably</FONT><BR>
<FONT COLOR="#737373"></FONT><BR>
<FONT COLOR="#737373" SIZE="2">some older version of Xerces). </FONT><BR>
<FONT COLOR="#737373"></FONT><BR>
<FONT COLOR="#737373" SIZE="2">Justin </FONT><BR>
<FONT COLOR="#737373"></FONT><BR>
<FONT COLOR="#737373" SIZE="2">> -----Original Message-----<BR>
> From: David Boyd [</FONT><A HREF="mailto:DBoyd@finishline.com"><FONT SIZE="2"><U>mailto:DBoyd@finishline.com</U></FONT></A><FONT COLOR="#737373" SIZE="2">] <BR>
> Sent: Tuesday, March 01, 2005 11:05 AM<BR>
> To: 'jdom-interest@jdom.org'<BR>
> Subject: [jdom-interest] Using JDOM with ATG<BR>
> <BR>
> <BR>
> I am interested in using JDOM with ATG.<BR>
> <BR>
> We are running ATG 5.6.1.<BR>
> <BR>
> How does one configure ATG to allow me to use JDOM. I have <BR>
> placed jdom.jar and xerces.jar in the classpath but all that <BR>
> did was cause a bunch of errors when the server started up.<BR>
> <BR>
> David Boyd <BR>
> ______________________________________________________________<BR>
> ___________<BR>
> This message and any attachments may be confidential or <BR>
> privileged and are for the exclusive use of the intended <BR>
> recipient. If you are not the addressee or intended <BR>
> recipient, please do not read, copy, use, or disclose this <BR>
> communication to others. If you have received this in error, <BR>
> please notify the sender by replying to this message, and <BR>
> then delete it entirely from your system. Delivery of this <BR>
> message and any attachments to any person other than the <BR>
> intended recipient(s) is not intended in any way to waive <BR>
> confidentiality or a privilege. All personal messages <BR>
> express views only of the sender, which are not to be <BR>
> attributed to Finish Line, and may not be copied or <BR>
> distributed without this statement.<BR>
> <BR>
> _______________________________________________<BR>
> To control your jdom-interest membership: <BR>
> </FONT><A HREF="http://www.jdom.org/mailman/options/jdom-interest/youraddr@you"><FONT SIZE="2"><U>http://www.jdom.org/mailman/options/jdom-interest/youraddr@you</U></FONT></A><BR>
<FONT COLOR="#737373" SIZE="2">rhost.com</FONT><BR>
<FONT COLOR="#737373"><BR>
<BR>
<HR>
<PRE>_______________________________________________
To control your jdom-interest membership:</FONT>
<A HREF="http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com"><U>http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com</U></I></A></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>