|
Hii Martin,
Thanks for the reply.
I want to upgrade to Xerces 2 and the parser used by Orion
is xerces.jar. Even though I include the xercesImpl.jar and xml-apis.jar in the
classpath. the orion was picking up from its own path and not from the
clasppath. This I could find out when I ran the happyaxis. As I want to upgrade
to xerces 2. I need to include xercesImpl.jar and xml-apis.jar in one
xerces.jar.
But when the site mentions, that xerces.jar is an
intersection of the 2 jars, does that mean, it will not include the classes
which are exclusive to xml-apis. I cant find many classses which are in
org.w3c.dom in the combined xerces?
Please find me a way out.
Thanks,
Nandita From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 6:09 PM To: [email protected] Subject: Fw: Getting xerces.jar from xercesImpl.jar and xml-apis.jar I am unsure as to your need to incorporate
xml-apis.jar into any other jar (e.g. orion.jar instead of the webapp
war)
I know that xml-apis.jar needs to be on your CLASSPATH M- *********************************************************************
This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message -----
Sent: Wednesday, July 12, 2006 7:33 AM
Subject: Getting xerces.jar from xercesImpl.jar and
xml-apis.jar I
want xerces.jar and not xercesImpl.jar and xml-apis.jar. I tried ant build as
recommended in http://xerces.apache.org/xerces2-j/install.html.
This
is what I did:
Downloaded Xerces-J-src.2.8.0.zip (http://www.apache.org/dist/xml/xerces-j/Xerces-J-src.2.8.0.zip)
Downloaded Xerces-J-tools.2.8.0.zip (http://www.apache.org/dist/xml/xerces-j/Xerces-J-tools.2.8.0.zip).
Extract both the jars into orion,
Changed the build.bat (for windows) to valid paths
Build with command ‘build.bat deprecatedall’ get the xerces.jar.
When
I replaced the xerces.jar into the orion folder, it says 'java.lang.NoClassDefFoundError:
org/w3c/dom/DOMError'
D:\orion>C:\j2sdk1.4.2_12\bin\java -DORI="ori"
-Dp6.home="D:\orion\applications\
rumba\lib" -Djava.library.path=$PATH -Djdbc.connection.debug=true -DLOG_HOME=$LO G_HOME -Dclient.keystore=D:\orion\config\clientkeystore -Dclient.password=client -DVersion=2.1 -Xms128m -Xmx128m -jar orion.jar -console java.lang.NoClassDefFoundError: org/w3c/dom/DOMError at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source) at com.evermind._qp.getJavaxDocument(Unknown Source) at com.evermind.xml.XMLUtils.getDocument(Unknown Source) at com.evermind.xml.XMLConfig._aa(Unknown Source) at com.evermind.xml.XMLConfig._aa(Unknown Source) at com.evermind._crb.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) at com.evermind._bf.run(Unknown Source) I
tried finding DOMError.class in Xerces.jar, I could not find
it.
Then
I tried to find it in 'src' of the Xerces-J-src.2.8.0.zip. There also I could not find it.
I
also tried extracting contents of xml-apis.jar into 'src' folder and building
it. I still cant find DOMError file.
So
what should I do to get all the classes in XercesImpl.jar and xml-apis.jar into
xerces.jar?
Looking
forward for a reply.
Thanks
in advance.
Nandita
|
RE: Getting xerces.jar from xercesImpl.jar and xml-apis.jar
Bharadwaj, Nandita \(GE Healthcare\) Wed, 12 Jul 2006 05:46:52 -0700
- Fw: Getting xerces.jar from xercesImp... Martin Gainty
- RE: Getting xerces.jar from xerc... Bharadwaj, Nandita \(GE Healthcare\)
