Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 31000 invoked from network); 19 Jul 2004 05:56:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Jul 2004 05:56:02 -0000 Received: (qmail 39302 invoked by uid 500); 19 Jul 2004 05:55:47 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 39159 invoked by uid 500); 19 Jul 2004 05:55:46 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 39146 invoked by uid 99); 19 Jul 2004 05:55:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [202.157.205.9] (HELO smtp.my.xybase.com) (202.157.205.9) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 18 Jul 2004 22:55:42 -0700 Received: from [172.28.11.252] ([172.28.11.252]) (authenticated bits=0) by smtp.my.xybase.com (8.12.8/8.12.8) with ESMTP id i6J5tEH0021131 for ; Mon, 19 Jul 2004 13:55:15 +0800 Message-ID: <40FB629D.4080001@xybase.com> Date: Mon, 19 Jul 2004 13:56:45 +0800 From: Roslan Amir Organization: XYBASE SDN BHD User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: need to use xerces parser implementation instead of crimson References: <20040719041943.43352.qmail@web60001.mail.yahoo.com> In-Reply-To: <20040719041943.43352.qmail@web60001.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version 0.74, clamav-milter version 0.74a on smtp X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 /* 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 /* 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:* axis-user@ws.apache.org > *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 . > > > > */roslan@xybase.com/* 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! >