axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Sauthier <Guillaume.Sauth...@Bull.Net>
Subject Re: Axis on Tomcat embeded in JOnAS Application Server
Date Thu, 13 Feb 2003 14:52:54 GMT
Thanks, I change the xerces.jar of JOnAS with xerces.jar of CATALINA and
it works !

Thx a lot :)


Brian Ewins wrote:
> 
> See
> http://www.saxproject.org/?selected=ext
> 
> The error you quote indicates that the XML parser you are using doesnt
> support the SAX extension for lexical handlers.
> 
> In particular this quote off the page is relevant:
> "[Re: lexicalhandlers...]In practice, all distributions are already
> including them, and any distribution conforming to the JAXP 1.1
> interface specification needs to include them."
> 
> Check if you've accidentally got an old xml parser in your classpath.
> Try looking at the results of 'happyaxis.jsp' (from the Axis sample
> webapp) in your webapp, and if this doesnt point out the problem, post
> the results of running 'fingerprint.jsp'
> 
> -Baz
> 
> Guillaume Sauthier wrote:
> > Hello
> >
> > I'm working with Axis 1.1 Release Candidate 1, Tomcat 4.0.6 and JOnAS
> > 2.6.4 .
> > I get an exception when I try to use the AdminClient tool :
> >
> > ---------------------------------------------------------------
> >
> > [INFO] AdminClient - -Processing file deploy.wsdd
> > AxisFault
> >  faultCode:
> > {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >  faultSubcode:
> >  faultString: org.xml.sax.SAXNotRecognizedException: Feature:
> > http://xml.org/sax/properties/lexical-handler
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >         {http://xml.apache.org/axis/}stackTrace: AxisFault
> >  faultCode:
> > {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >  faultSubcode:
> >  faultString: org.xml.sax.SAXNotRecognizedException: Feature:
> > http://xml.org/sax/properties/lexical-handler
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >
> > org.xml.sax.SAXNotRecognizedException: Feature:
> > http://xml.org/sax/properties/lexical-handler
> >         at
> > org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:249)
> >         at
> > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
> >         at
> > org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:973)
> >         at
> > org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
> >         at
> > org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
> >         at
> > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
> >         at
> > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
> >         at
> > org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
> >         at javax.xml.parsers.SAXParser.parse(SAXParser.java:393)
> >         at
> > org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:230)
> >         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:2511)
> >         at org.apache.axis.client.Call.invoke(Call.java:2481)
> >         at org.apache.axis.client.Call.invoke(Call.java:1603)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:355)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:334)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:341)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:292)
> >         at org.apache.axis.client.AdminClient.main(AdminClient.java:377)
> >
> >
> > org.xml.sax.SAXNotRecognizedException: Feature:
> > http://xml.org/sax/properties/lexical-handler
> >         at
> > org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:249)
> >         at
> > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
> >         at
> > org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:973)
> >         at
> > org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
> >         at
> > org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
> >         at
> > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
> >         at
> > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
> >         at
> > org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
> >         at javax.xml.parsers.SAXParser.parse(SAXParser.java:393)
> >         at
> > org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:230)
> >         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:2511)
> >         at org.apache.axis.client.Call.invoke(Call.java:2481)
> >         at org.apache.axis.client.Call.invoke(Call.java:1603)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:355)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:334)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:341)
> >         at
> > org.apache.axis.client.AdminClient.process(AdminClient.java:292)
> >         at org.apache.axis.client.AdminClient.main(AdminClient.java:377)
> > [ERROR] AdminClient - -Exception:
> > <org.xml.sax.SAXNotRecognizedException: Feature:
> > http://xml.org/sax/properties/lexical-handler>
> >
> > ---------------------------------------------------------
> >
> > It's exactly the same when I use the list command !
> >
> > But when I use Axis on Tomcat in standalone mode (not in JOnAS), the
> > AdminClient works perfectly !
> >
> > Where do you think is the problem ?
> >
> > Thanks...
> >
> > Guillaume
> >

Mime
View raw message