Have you try to package your version of JAXP files inside your application
archive (ear, war)?  This idea comes from the fact that every class is
identified not only its class name but also which class loader it is loaded
from.  Since Orion supports dynamic loading of application files, it should
be using a custom classloader for every application.  Hence, by theory, you
should be able to use a different JAXP than the one Orion uses.  Of course
it depends on exactly how Orion implements this.  If Orion looks for classes
from the default classloader first, it is still not going to work.  But I
think it does worth a try.

Hope this help

Conrad

-----Original Message-----
From: Richard Doust [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:31 PM
To: Orion-Interest
Subject: JAXP


I have been working on this problem all day. I have posted once before and
no one responded. I will try again.
I'm no Java expert and this is just my ignorance, but can anyone tell me if
I'm correct in my assumptions on this.
I am trying to develop server side code that runs under Orion that uses the
JAXP code that Sun has recently released. There are different versions of
parser.jar, xalan.jar and jaxp.jar distributed with Orion. Older ones. I
have tried replacing the older ones with the newer ones because my code
requires the newer ones and I guess that my code will be running in the same
image as Orion. Orion fails to start due to an exception while trying to
parse its configuration files. Putting the old .jar files back, it works
again. So, now it occurs to me that I'm basically stuck running with
whatever version of support code the tools I'm using are dependent on.
If I'm right, that means I can't use the latest version of JAXP until Orion
does? Is that right?
Anyone?
Thanks,
Rich


Reply via email to