Re: Is xerces.jar too old ?
Yes it is. Get the latest and put it in orion/ and it will work fine. I also use jdom and it works fine. It will not cause side affects since the only difference is the DOM level supported. Matt Boris Erukhimov wrote: Our application uses XML data exchange wrapped into HTTP. It is handled by a servlet running under Orion and doing its own XML parsing and generating. We are using pretty convenient XML API (Jdom ) from http://www.jdom.org which I highly recommend. The jdom.jar bundle comes with the latest (?) xerces.jar which I also copied into /Orion/lib directory. My standalone code worked fine, but after I placed it into servlet it did throw NoSuchMethodException complaining at some xerces code. Apparently Orion's classloader uses xerces.jar from the Orion root directory prior to the one placed in Orion/lib directory. Everything works fine after I replaced the old xerces.jar in the Orion root directory with the new one which came with jdom.jar bundle. I don't like that hack because it's an alteration to Orion distribution and hell knows what side effects it may cause. So, my question are : Is there any way to force servlet in using certain library if there is some naming conflict with the one in Orion root ? Orion team, are you going to update xerces.jar in distribution ? Does it involve any licensing issue ? Thanks ~boris
Re: Is xerces.jar too old ?
Has anyone tried Xalan Java 2.0.0 yet? If so, how well did it work? Kirk Yarina At 08:23 AM 2/20/01 -0600, you wrote: Yes it is. Get the latest and put it in orion/ and it will work fine. I also use jdom and it works fine. It will not cause side affects since the only difference is the DOM level supported. Matt Boris Erukhimov wrote: ... Everything works fine after I replaced the old xerces.jar in the Orion root directory with the new one which came with jdom.jar bundle. I don't like that hack because it's an alteration to Orion distribution and hell knows what side effects it may cause.
RE: Is xerces.jar too old ?
I have, and it rocks. Much easier interfaces. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of KirkYarina Sent: Tuesday, February 20, 2001 11:28 AM To: Orion-Interest Subject: Re: Is xerces.jar too old ? Has anyone tried Xalan Java 2.0.0 yet? If so, how well did it work? Kirk Yarina At 08:23 AM 2/20/01 -0600, you wrote: Yes it is. Get the latest and put it in orion/ and it will work fine. I also use jdom and it works fine. It will not cause side affects since the only difference is the DOM level supported. Matt Boris Erukhimov wrote: ... Everything works fine after I replaced the old xerces.jar in the Orion root directory with the new one which came with jdom.jar bundle. I don't like that hack because it's an alteration to Orion distribution and hell knows what side effects it may cause.
Is xerces.jar too old ?
Our application uses XML data exchange wrapped into HTTP. It is handled by a servlet running under Orion and doing its own XML parsing and generating. We are using pretty convenient XML API (Jdom ) from http://www.jdom.org which I highly recommend. The jdom.jar bundle comes with the latest (?) xerces.jar which I also copied into /Orion/lib directory. My standalone code worked fine, but after I placed it into servlet it did throw NoSuchMethodException complaining at some xerces code. Apparently Orion's classloader uses xerces.jar from the Orion root directory prior to the one placed in Orion/lib directory. Everything works fine after I replaced the old xerces.jar in the Orion root directory with the new one which came with jdom.jar bundle. I don't like that hack because it's an alteration to Orion distribution and hell knows what side effects it may cause. So, my question are : Is there any way to force servlet in using certain library if there is some naming conflict with the one in Orion root ? Orion team, are you going to update xerces.jar in distribution ? Does it involve any licensing issue ? Thanks ~boris
RE: Is xerces.jar too old ?
Hi, We just had the same problems. The $ORION_HOME/xerces.jar version is old and could not handle our need in XML parsing. We have replaced this file by a new version and all is fine! We use Orion 1.4.4, old xerces.jar was 589 KO, and new one is 769 KO (don't know how to check version...). I know this is not a good solution, but Orion seems to give his own CLASSPATH to the application he ran, so even if you had the new xerces.jar in the CLASSPATH specified with LIB tag it'll be hidden by the Orion's one. If some have idears on this subject... PHiL -Message d'origine- De : Boris Erukhimov [mailto:[EMAIL PROTECTED]] Envoy : lundi 19 fvrier 2001 17:50 : Orion-Interest Objet : Is xerces.jar too old ? Our application uses XML data exchange wrapped into HTTP. It is handled by a servlet running under Orion and doing its own XML parsing and generating. We are using pretty convenient XML API (Jdom ) from http://www.jdom.org which I highly recommend. The jdom.jar bundle comes with the latest (?) xerces.jar which I also copied into /Orion/lib directory. My standalone code worked fine, but after I placed it into servlet it did throw NoSuchMethodException complaining at some xerces code. Apparently Orion's classloader uses xerces.jar from the Orion root directory prior to the one placed in Orion/lib directory. Everything works fine after I replaced the old xerces.jar in the Orion root directory with the new one which came with jdom.jar bundle. I don't like that hack because it's an alteration to Orion distribution and hell knows what side effects it may cause. So, my question are : Is there any way to force servlet in using certain library if there is some naming conflict with the one in Orion root ? Orion team, are you going to update xerces.jar in distribution ? Does it involve any licensing issue ? Thanks ~boris