axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Bahal <sb6...@yahoo.com>
Subject Re: Axis Install Problem
Date Fri, 30 Nov 2001 15:07:58 GMT
Hi all,
I downloaded the alpha2 version instead of the nighly
build- that I was using earlier. This has worked
better. I could deploy.
But I still can not execute(step 6):
C:\xml-axis>java samples.stock.GetQuote
-lhttp://localhost:8080/axis/servlet/Axi
sServlet -uuser1 -wpass1 XXX
AxisFault
faultCode:
http://xml.apache.org/axis/:Server.generalException
  faultString: org.xml.sax.SAXParseException: The
markup in the document preceding the root element must
be well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:626)
at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:809)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at
javax.xml.parsers.SAXParser.parse(SAXParser.java:374)
at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:160)
at
org.apache.axis.Message.getAsSOAPEnvelope(Message.java:319)
at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:588)
at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:494)
at samples.stock.GetQuote.getQuote(GetQuote.java:120)
at samples.stock.GetQuote.main(GetQuote.java:135)
faultActor: null
faultDetails: null

Thanks a lot,
Sanjay

--- Sanjay Bahal <sb6325@yahoo.com> wrote:
> Hi,
> Has anybody not got ideas on this yet?
> I just double checked the instructions - right on
> top
> it says:
> "This document describes how to install xml-axis in
> as
> unobtrusive of a manner as possible.  There will be
> no
> editing of configuration files, setting of server
> classpaths, or the like. ...."
> That is somehow not holding true for me.
> TIA
> Sanjay
> --- Sanjay Bahal <sb6325@yahoo.com> wrote:
> > Hi All,
> > I added the axis context too( Is it reqd):
> > <Context 
> > 		path="/axis"
> > 		docBase="c:/xml-axis/webapps/axis"
> > 		reloadable="true">
> > 	 </Context>
> > I still get the same error,
> > TIA
> > Sanjay
> > --- Sanjay Bahal <sb6325@yahoo.com> wrote:
> > > Hi All,
> > > I tried this again with Tomcat4 I get the same
> > > error.
> > > Do we have to add a context path to the
> server.xml
> > > in
> > > Tomcat?
> > > TIA
> > > Sanjay
> > > --- Sanjay bahal <sb6325@yahoo.com> wrote:
> > > > Hi,
> > > > I insatlled axis alpha3 on win2000, jdk1.3,
> > > > Tomcat3.2.
> > > > I followed the install instructions- reached
> > step
> > > 5-
> > > > deploy. I get the flwg error:
> > > > C:\xml-axis\samples\stock>java
> > > > org.apache.axis.client.AdminClient
> > -lhttp://local
> > > > host:8080/axis/servlet/AxisServlet
> > > client_deploy.xml
> > > > Processing file client_deploy.xml
> > > > <ns1:Fault
> > > >
> > >
> >
>
xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
> > > >    <ns1:faultcode
> > > >
> > >
> >
>
xmlns:ns4="http://xml.apache.org/axis/">ns4:Server.generalExce
> > > > ption</ns1:faultcode>
> > > >   
> > > >
> > >
> >
>
<ns1:faultstring>java.lang.reflect.InvocationTargetException:
> > > > AxisFault
> > > >   faultCode:
> > > >
> > >
> >
> http://xml.apache.org/axis/:Server.generalException
> > > >   faultString: null
> > > >   faultActor: null
> > > >   faultDetails: null
> > > > 
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.deployment.SimpleDeploymentManager.getHandler(SimpleD
> > > > eploymentManager.java:217)
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.AxisEngine.getHandler(AxisEngine.java:241)
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.utils.Admin.registerService(Admin.java:680)
> > > >         at
> > > >
> > >
> >
> org.apache.axis.utils.Admin.process(Admin.java:478)
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.utils.Admin.AdminService(Admin.java:183)
> > > >         at
> > java.lang.reflect.Method.invoke(Native
> > > > Method)
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider
> > > > .java:161)
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
> > > > 242)
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:240
> > > > )
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.server.AxisServer.invoke(AxisServer.java:254)
> > > >         at
> > > >
> > >
> >
>
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:40
> > > > 3)
> > > >         at
> > > >
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
> > > >         at
> > > >
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
> > > > 05)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.Handler.service(Handler.java:287)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
> > > > )
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.
> > > > java:797)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743
> > > > )
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
> > > > n(HttpConnectionHandler.java:213)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
> > > > 416)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
> > > > :501)
> > > >         at
> java.lang.Thread.run(Thread.java:484)
> > > > </ns1:faultstring>
> > > >    </ns1:Fault>
> > > > 
> > > > TIA
> > > > Sanjay
> > > > 
> > > > 
> > > >
> > __________________________________________________
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Mime
View raw message