Forums Register Login

Axis Fault: connect:could be due to invalid address

+Pie Number of slices to send: Send
Hi Everybody,

I'm new to Axis.We are trying out a sample application with mappoint and axis.Actually I get the following exception while trying to invoke getCommonServiceSoap() method.Till before this line of code the connection is fine and I can set the username & password and retrieve the same. But while invoking this method I get the exception.
I tried including client-config.wsdd in classpath as well as jar file.But still its not working. Please help me to solve this issue,because our upload date is near.
((net.mappoint.s.FindServiceSoapStub)findService).getUsername();-->1234 [5/29/07 13:49:46:699 IST] 6d09ab6e SystemOut O ((net.mappoint.s.FindServiceSoapStub)findService).getUsername();-->1234 [5/29/07 13:50:09:294 IST] 6d09ab6e enterprise I org.apache.axis.enterprise Mapping Exception to AxisFault [5/29/07 13:50:09:309 IST] 6d09ab6e enterprise I org.apache.axis.enterprise TRAS0014I: The following exception was logged AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: java.net.SocketException: Operation timed out: connect:could be due to invalid address faultActor: null faultDetail: stackTrace: java.net.SocketException: Operation timed out: connect:could be due to invalid address at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.connect(Socket.java:428) at java.net.Socket.<init>(Socket.java:335) at java.net.Socket.<init>(Socket.java:150) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:86) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:651) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2630) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1065) at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:130) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2113) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at net.mappoint.s.FindServiceSoapStub.findAddress(FindServiceSoapStub.java:1232) at org.apache.jsp._Result._jspService(Result.jsp :113) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1019) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:592) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:204) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912) java.net.SocketException: Operation timed out: connect:could be due to invalid address at org.apache.axis.AxisFault.makeFault(AxisFault.java:120) at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:200) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) Thanks, Sonara
+Pie Number of slices to send: Send
Which address are you trying to connect to - is it valid?
+Pie Number of slices to send: Send
I'm trying to access this url
<a href="http://s.mappoint.net/mappoint-30</b rel="nofollow">" target="_blank">http://s.mappoint.net/mappoint-30



The error comes here[/B]


I have a clarification the url taht I mentioned above
"http://s.mappoint.net/mappoint-30" is not getting accessed directly in the browser.Is this a problem??If so what should be done to acess it.

[ May 29, 2007: Message edited by: Sonara Rahul ]
[ May 29, 2007: Message edited by: Sonara Rahul ]
+Pie Number of slices to send: Send
 

I have a clarification the url taht I mentioned in exception
"http://xml.apache.org/axis" is not getting accessed directly in the browser. Is this a problem?


No. That's a URI more than a URL; it's not meant to be accessed directly.
Destroy anything that stands in your way. Except this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
This thread has been viewed 3365 times.
Similar Threads

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:53:20.