axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Sakhr <ra...@geeklings.net>
Subject installation: why a failure is actually a success.
Date Wed, 26 Jun 2002 15:35:46 GMT
Hello axis group!  I have a guess for analyzing what a problem is, and if anyone could say
if they agree or if they have reason to believe i'm way off mark i would appreciate it.

When I run the Step 7 from the Axis Installation Guide on the web site, which client invocation
is pasted below:

	java samples.stock.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1
XXX 

I get an exception back from the server, which is pasted at the end of this message. I think
that the service is working, it's just that the service needs to access a different remote
site (For the xml namespace maybe) and THAT site is down.  So my installation and deployment
of the sample web service has succeeded.  is this an accurate assessment?



<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.userException</faultcode>
   <faultstring>java.net.ConnectException: Connection timed out: connect</faultstring>
   <detail>
    <ns2:stackTrace xmlns:ns2="http://xml.apache.org/axis/">java.net.ConnectException:
Connection timed out: connect&#xd;
	at java.net.PlainSocketImpl.socketConnect(Native Method)&#xd;
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)&#xd;
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)&#xd;
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)&#xd;
	at java.net.Socket.connect(Socket.java:425)&#xd;
	at java.net.Socket.connect(Socket.java:375)&#xd;
	at sun.net.NetworkClient.doConnect(NetworkClient.java:139)&#xd;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:366)&#xd;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:582)&#xd;
	at sun.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java:292)&#xd;
	at sun.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java:253)&#xd;
	at sun.net.www.http.HttpClient.New(HttpClient.java:321)&#xd;
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)&#xd;
	at sun.net.www.http.HttpClient.New(HttpClient.java:301)&#xd;
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:463)&#xd;
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:454)&#xd;
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:556)&#xd;
	at java.net.URL.openStream(URL.java:955)&#xd;
	at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:731)&#xd;
	at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:676)&#xd;
	at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:252)&#xd;
	at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:499)&#xd;
	at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)&#xd;
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)&#xd;
	at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)&#xd;
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:209)&#xd;
	at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)&#xd;
	at samples.stock.StockQuoteService.getQuote(StockQuoteService.java:90)&#xd;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xd;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#xd;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#xd;
	at java.lang.reflect.Method.invoke(Method.java:324)&#xd;
	at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:229)&#xd;
	at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:262)&#xd;
	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)&#xd;
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)&#xd;
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)&#xd;
	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)&#xd;
	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:576)&#xd;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)&#xd;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)&#xd;
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)&#xd;
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)&#xd;
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&#xd;
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)&#xd;
	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)&#xd;
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&#xd;
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)&#xd;
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)&#xd;
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)&#xd;
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)&#xd;
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)&#xd;
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&#xd;
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)&#xd;
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)&#xd;
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&#xd;
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)&#xd;
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)&#xd;
	at java.lang.Thread.run(Thread.java:536)&#xd;
</ns2:stackTrace>
   </detail>

Mime
View raw message