Thanks a lot Roslan!
I have got it to work.
I appreciate your patience for my problem .
Thanks once again.
 
regards,
Brian.

Roslan Amir <[EMAIL PROTECTED]> wrote:
Dear Brian,

Yes, you have to create the "endorsed" directory yourself under
"%JAVA_HOME%\jre\lib". For me, I have the following jars under the
"endorsed" directory:
dom.jar
sax.jar
xalan.jar
xercesImpl.jar
xsltc.jar

These .jars all came from the JWSDP package from Sun. Hope this helps.

Roslan

BRIAN MORAS wrote:

> Please let me know if some one has encountered this problem when working
> with
> axis ..Is xerces required or is it some other problem?
>
> */BRIAN MORAS <[EMAIL PROTECTED]>/* wrote:
>
>
> the new version of xerces seems to be implemented as two seperate
> jars namely
> xercesImpl.jar and xml-apis.jar
>
> these I got from the latest download of xeres ie 2_5_0
> */Dhanush Gopinath <[EMAIL PROTECTED]>/* wrote:
>
> Add the Xerces Jars it to the class path may be my earlier
> mail didnt reach the group ..
>
> Cheers
>
> Dhanush Gopinath
> Software Engineer
> Mahindra British Telecom Ltd
> +91-020-4018100 Ext:-1218
> ------------------------------------------------------------------------
> "It's the possibility of having a dream come true , that makes
> life interesting" - Paulo Coelho, /The Alchemist/
>
> ----- Original Message -----
> *From:* BRIAN MORAS
> *To:* [EMAIL PROTECTED]
> *Sent:* Friday, July 16, 2004 4:59 PM
> *Subject:* Re: need to use xerces parser implementation
> instead of crimson
>
> I dont see a "jre/lib/endorsed/" in my installation of
> j2sdk1.4.2_04.
> However,I have a "jre/lib/ext".
> I created a "jre/lib/endorsed" and tried adding
> xercesImpl.jar and xml-apis.jar to both ..
> restarted tomcat... it still picks up crimson...with the
> same error as given.
>
> Well, here is a summary of what I have done .
>
> Install Axis and Tomcat
> set JAVA_HOME
> tomcat sarts successfully
> copy axis/webapp content to ROOT/axis ( ROOT of tomcat)
> copy xml-apis.jar and xercesImpl.jar to /ROOT/axis/Web-INF/lib
> copy all jars from axis/Web-Inf/lib to
> CATALINA_home/commom/lib required activation.jar
> add all axis and xerces jars to system env classpath
>
> at this point "AXIS Happiness page" is up and reports that
> all required core libraries exist.
>
> after Roslan's mail I have added xercesImpl.jar and
> xml-apis.jar to
> D:\j2sdk1.4.2_04\jre\lib\ext and
> D:\j2sdk1.4.2_04\jre\lib\endorsed( this directory, I had to
> create myself)
>
> it still goes on with the same error..looks like it still
> picks up crimson
>
> Please help.
>
> Best regards,
> Brian .
>
>
>
> */[EMAIL PROTECTED]/* wrote:
>
> Put xerces in endorsed dir of JDK 1.4.2_05. It worked
> for me.
> Roslan
>
> Quoting BRIAN MORAS :
>
> > Hi
> >
> > I have got the axis happiness page up with all
> required and optional jar
> > files.
> >
> > Please let me know how to override crimson to use xerces.
> >
> >
> > When I try using one of the examples from the
> userguide folder in
> > WEB-INF\axis( a simple one the CalcClient )
> > I get the following error :
> >
> > Exception in thread "main" AxisFault
> > faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > faultSubcode:
> > faultString: org.xml.sax.SAXParseException: Document
> root element is
> > missing.
> > faultActor:
> > faultNode:
> > faultDetail:
> > {http://xml.apache.org/axis/}stackTrace:
> > org.xml.sax.SAXParseException:
> > Document root element is missing.
> > at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
> > at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
> > at
> >
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
> > at
> org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> > at
> >
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> > at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> > at
> >
> org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
> > tionContextImpl.java:242)
> > at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
> > at
> org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
> > at
> org.apache.axis.client.Call.invokeEngine(Call.java:2583)
> > at org.apache.axis.client.Call.invoke(Call.java:2553)
> > at org.apache.axis.client.Call.invoke(Call.java:2248)
> > at org.apache.axis.client.Call.invoke(Call.java:2171)
> > at org.apache.axis.client.Call.invoke(Call.java:1691)
> > at CalcClient.main(CalcClient.java:98)
> >
> > org.xml.sax.SAXParseException: Document root element
> is missing.
> > at
> org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
> > at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)
> > at
> org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
> > at
> org.apache.axis.client.Call.invokeEngine(Call.java:2583)
> > at org.apache.axis.client.Call.invoke(Call.java:2553)
> > at org.apache.axis.client.Call.invoke(Call.java:2248)
> > at org.apache.axis.client.Call.invoke(Call.java:2171)
> > at org.apache.axis.client.Call.invoke(Call.java:1691)
> > at CalcClient.main(CalcClient.java:98)
> > Caused by: org.xml.sax.SAXParseException: Document
> root element is missing.
> > at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
> > at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
> > at
> >
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
> > at
> org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> > at
> >
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> > at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> > at
> >
> org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
> > tionContextImpl.java:242)
> > at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
> > ... 7 more
> >
> >
> > I have been trying in vain to use xerces instead of
> crimson that comes
> > bundled in jdk1.4.2_04.
> >
> > I have downloaded xerces 2_5_0 and copied the jars to
> commom/lib of tomcat
> >
> > I have read the article about xmlParsers it tells
> about choosing xerces
> > ...but How do I do that?
> > please let me know if anyone has done this.
> >
> >
> > any help would be appreciated.
> >
> > Thanks in advance
> >
> > Brian.
> >
> >
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
>
>
>
>
> -----------------------------------------------------
> This mail sent through IMP: http://webmail.xybase.com
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail
>
> - 50x more storage than other providers!
>
> *********************************************************
> Disclaimer: This message (including any attachments) contains
> confidential information intended for a specific individual and
> purpose, and is protected by law. If you are not the intended
> recipient, you should delete this message and are hereby
> notified that any disclosure, copying, or distribution of this
> message, or the taking of any action based on it, is strictly
> prohibited.
> ********************************************************* Visit
> us at http://www.mahindrabt.com
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail
>
> - 100MB free storage!
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!
>


Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

Reply via email to