[jdom-interest] Using JDOM with ATG

Ken Roberts ken at 9ci.com
Tue Mar 1 11:56:04 PST 2005


Not familiar with ATG, but I have used JBoss and came up with a similar
problem.

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.

This is not a problem unless the class in A and B are of a different
version.

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.

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.

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.

On Tue, 2005-03-01 at 12:08, Edelson, Justin wrote:

> I've used this combination without issue in the past and I don't see
> how
> 
> just putting JDOM in the classpath could cause errors on startup. What
> specifically happened? 
> 
> Incidentally, I don't think you need to put xerces.jar in the
> classpath.
> 
> I'm pretty sure Dynamo comes with it's own JAXP implementation
> (probably
> 
> some older version of Xerces). 
> 
> Justin 
> 
> > -----Original Message-----
> > From: David Boyd [mailto:DBoyd at finishline.com] 
> > Sent: Tuesday, March 01, 2005 11:05 AM
> > To: 'jdom-interest at jdom.org'
> > Subject: [jdom-interest] Using JDOM with ATG
> > 
> > 
> > I am interested in using JDOM with ATG.
> > 
> > We are running ATG 5.6.1.
> > 
> > How does one configure ATG to allow me to use JDOM.  I have 
> > placed jdom.jar and xerces.jar in the classpath  but all that 
> > did was cause a bunch of errors when the server started up.
> > 
> > David Boyd 
> > ______________________________________________________________
> > ___________
> > This message and any attachments may be confidential or 
> > privileged and are for the exclusive use of the intended 
> > recipient.  If you are not the addressee or intended 
> > recipient, please do not read, copy, use, or disclose this 
> > communication to others.  If you have received this in error, 
> > please notify the sender by replying to this message, and 
> > then delete it entirely from your system.  Delivery of this 
> > message and any attachments to any person other than the 
> > intended recipient(s) is not intended in any way to waive 
> > confidentiality or a privilege.  All personal messages 
> > express views only of the sender, which are not to be 
> > attributed to Finish Line, and may not be copied or 
> > distributed without this statement.
> > 
> > _______________________________________________
> > To control your jdom-interest membership: 
> > http://www.jdom.org/mailman/options/jdom-interest/youraddr@you
> rhost.com
> 
> 
> 
> ______________________________________________________________________
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050301/c58c23f7/attachment.htm


More information about the jdom-interest mailing list