Hi Ralph, I agree... to me it appears that the GetQuote service is failing to retrieve the quote from whatever internet site that it is attempting to pull the data from.
Could your internet connection be the culprit (ie, a bad link to the website that the GetQuote service needs)? -- ======================================= Jess Sightler Programmer Exim Technologies 131 Falls Street Greenville SC 29601 Phone: 864-679-4651 ======================================= On Wed, 2002-06-26 at 12:48, Ralph Sakhr wrote: > Pamela- > > This is suspicious because I know the Tomcat server cannot be down. AFter all, I >got a response message from the server. Also, I can see the exception dump in the >Tomcat window. > > In fact if you look at the exception dump, it lists: > samples.stock.StockQuoteService.getQuote(StockQuoteService.java:90)
 > so I know that the stock quote service is being invoked. In fact, the line that is >throwing the exception is doing something with the URL. > > Still confused, > ralph > > > > Ralph, > > > > If the message is returned from the server, you should see the following > > string prepended to the message: > > > > "Received problem response from server: ....." > > > > See line 123 of GetQuote.java. > > > > When I ran the same program with my tomcat server down, I got a similar > > exception: java.net.ConnectException. Though I got a connection refused > > instead of a connection timeout. I suggest you check your server side > > configuration again. If you are using tomcat, make sure you copy jaxrpc.jar > > from the axis package to the common/lib directory in tomcat. The instruction > > didn't mention it. Good luck. > > > > -pam > > > > > > -----Original Message----- > > From: Ralph Sakhr [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, June 26, 2002 8:36 AM > > To: [EMAIL PROTECTED] > > Subject: installation: why a failure is actually a success. > > > > > > 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
 > > at java.net.PlainSocketImpl.socketConnect(Native Method)
 > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
 > > at > > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
 > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
 > > at java.net.Socket.connect(Socket.java:425)
 > > at java.net.Socket.connect(Socket.java:375)
 > > at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
 > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:366)
 > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:582)
 > > at > > sun.net.www.http.HttpClient.<init>(HttpClient.java:292)
 > > at > > sun.net.www.http.HttpClient.<init>(HttpClient.java:253)
 > > at sun.net.www.http.HttpClient.New(HttpClient.java:321)
 > > at sun.net.www.http.HttpClient.New(HttpClient.java:306)
 > > at sun.net.www.http.HttpClient.New(HttpClient.java:301)
 > > at > > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j > > ava:463)
 > > at > > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4 > > 54)
 > > at > > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection > > .java:556)
 > > at java.net.URL.openStream(URL.java:955)
 > > at > > org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:73 > > 1)
 > > at > > org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager > > .java:676)
 > > at > > org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScan > > nerImpl.java:252)
 > > at > > org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo > > nfiguration.java:499)
 > > at > > org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo > > nfiguration.java:581)
 > > at > > org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
 > > at > > org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)
 > > at > > org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20 > > 9)
 > > at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
 > > at > > samples.stock.StockQuoteService.getQuote(StockQuoteService.java:90)
 > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > > )
 > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > > .java:25)
 > > at java.lang.reflect.Method.invoke(Method.java:324)
 > > at > > org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:2 > > 29)
 > > at > > org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:262)&#x > > d; > > at > > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: > > 71)
 > > at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
 > > at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
 > > at > > org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
 > > at > > org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:576)
 > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application > > FilterChain.java:247)
 > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh > > ain.java:193)
 > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > > va:243)
 > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66)
 > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)& > > #xd; > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > > va:190)
 > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66)
 > > at > > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 > > 46)
 > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64)
 > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)& > > #xd; > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 > > at > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)&# > > xd; > > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > > )
 > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66)
 > > at > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > > java:170)
 > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64)
 > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 > > )
 > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64)
 > > at > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)&#x > > d; > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64)
 > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)& > > #xd; > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 > > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > > :174)
 > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66)
 > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)& > > #xd; > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 > > at > > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: > > 1012)
 > > at > > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 > > )
 > > at java.lang.Thread.run(Thread.java:536)
 > > </ns2:stackTrace> > > </detail>
