You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Rideout, Chris" <Ch...@xwave.com> on 2004/07/06 21:03:38 UTC

Strange Axis Exception....

> Hey Folks,
> 
> I'm using an Axis client in an application housed on IBM Websphere Version 5.1 to talk to an Axis WebService housed on IBM Websphere Version 5.0.  Everything works fine, but every once in a while (approx once in every 200 requests or so) we get a Java exception.  I cannot recreate this with increased traffic.  In fact - I cannot recreate this at all.  It is seemingly totally random.  I have no idea what is causing this error and needless to say it is very frustrating.   
> 
> I have attached the Stack Trace below.  If anyone has any ideas as to what is causing this - or how I can / should go about figuring out the cause or the solution it would be greatly appreciated!
> 
> Thanks a million,
> 
> Chris
> 
> 
> java.net.SocketException: Operation timed out: connect:could be due to invalid address:::; nested exception is: 	java.net.SocketException: Operation timed out: connect:could be due to invalid address:::; nested exception is: 	java.net.SocketException: Operation timed out: connect:could be due to invalid address:::AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode:  faultString: java.net.SocketException: Operation timed out: connect:could be due to invalid address faultActor:  faultNode:  faultDetail: 	{http://xml.apache.org/axis/}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(Compiled Code))	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java(Compiled Code))	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java(Compiled Code))	at java.net.Socket.connect(Socket.java(Compiled Code))	at java.net.Socket.connect(Socket.java(Inlined Compiled Code))	at java.net.Socket.&lt;init&gt;(Socket.java(Compiled Code))	at java.net.Socket.&lt;init&gt;(Socket.java(Inlined Compiled Code))	at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java(Compiled Code))	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java(Compiled Code))	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java(Compiled Code))	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java(Compiled Code))	at org.apache.axis.SimpleChain.invoke(SimpleChain.java(Compiled Code))	at org.apache.axis.client.AxisClient.invoke(AxisClient.java(Compiled Code))	at org.apache.axis.client.Call.invokeEngine(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at xwave.mrd.webservice.MRDRequestHandler.getGetInfo_Output_Properties(MRDRequestHandler.java(Compiled Code))	at org.apache.jsp._ms._jspService(_ms.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))	at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))	at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))> 	at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))	at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))	at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))	at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))	at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java(Compiled Code))	at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))	at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))	at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))	at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))java.net.SocketException: Operation timed out: connect:could be due to invalid address	at org.apache.axis.AxisFault.makeFault(AxisFault.java(Inlined Compiled Code))	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java(Compiled Code))	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java(Compiled Code))	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java(Compiled Code))	at org.apache.axis.SimpleChain.invoke(SimpleChain.java(Compiled Code))	at org.apache.axis.client.AxisClient.invoke(AxisClient.java(Compiled Code))	at org.apache.axis.client.Call.invokeEngine(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))	at xwave.mrd.webservice.MRDRequestHandler.getGetInfo_Output_Properties(MRDRequestHandler.java(Compiled Code))	at org.apache.jsp._ms._jspService(_ms.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))	at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))	at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))	at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))	at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))> 	at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))	at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))	at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))	at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))	at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java(Compiled Code))	at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))	at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))	at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))	at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))Caused by: 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(Compiled Code))	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java(Compiled Code))	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java(Compiled Code))	at java.net.Socket.connect(Socket.java(Compiled Code))	at java.net.Socket.connect(Socket.java(Inlined Compiled Code))	at java.net.Socket.<init>(Socket.java(Compiled Code))	at java.net.Socket.<init>(Socket.java(Inlined Compiled Code))	at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java(Compiled Code))	... 38 more)