aspose file tools*
The moose likes Web Services and the fly likes connection error when servers runs fine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "connection error when servers runs fine" Watch "connection error when servers runs fine" New topic
Author

connection error when servers runs fine

alex balin
Greenhorn

Joined: Mar 27, 2011
Posts: 1
Hello



I'm running webservice on apache-tomcat-6.0.26, axis 1.4 installed succesfuly and the

server-config.wsdd includs it and the service deployed on axis.

The service works but throws this exception:





[13:36:49:145 IST 27/03/11] 00000aed SystemErr are AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.net.SocketException: Connection reset

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Connection reset

at java.net.SocketInputStream.read(SocketInputStream.java:197)

at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)

at java.io.BufferedInputStream.read1(BufferedInputStream.java:267)

at java.io.BufferedInputStream.read(BufferedInputStream.java:324)

at java.io.FilterInputStream.read(FilterInputStream.java:134)

at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)

at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)

at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

at org.apache.axis.client.Call.invoke(Call.java:2767)

at org.apache.axis.client.Call.invoke(Call.java:2443)

at org.apache.axis.client.Call.invoke(Call.java:2366)

at org.apache.axis.client.Call.invoke(Call.java:1812)

at com.poalim.gms.webservices.gamsExecuterServiceProxy.GmsRunnerServiceSoapBindingStub.executeGamsProccess(GmsRunnerServiceSoapBindingStub.java:155)

at com.poalim.gms.webservices.GamsServiceInvoker.execute(GamsServiceInvoker.java:41)

at com.poalim.gms.gams.gumsHandlers.GamsManager.invokeGamsWebService(GamsManager.java:93)

at com.poalim.gms.gams.gumsHandlers.GamsManager.startNewGams(GamsManager.java:71)

at com.poalim.gms.views.optimization.EnterGams.runGams(EnterGams.java:48)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:618)

at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:127)

at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:73)

at javax.faces.component.UICommand.broadcast(UICommand.java:312)

at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:302)

at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:419)

at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)

at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)

at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)

at com.poalim.jsf.ajax.AjaxServlet.executeLifeCycle(AjaxServlet.java:355)

at com.poalim.jsf.ajax.AjaxServlet.runFullLifeCycle(AjaxServlet.java:273)

at com.poalim.jsf.ajax.AjaxServlet.doAction(AjaxServlet.java:231)

at com.poalim.jsf.ajax.AjaxServlet.doPost(AjaxServlet.java:122)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1103)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:570)

at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)

at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)

at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)

at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)



What can be the problem?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
I imagine it means that the client closed the connection before the response was sent.

What is the client for this service? Could the connection have timed out?

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connection error when servers runs fine
 
Similar Threads
to Inclue jsp page in another using jsf
Getting 502 error when opening URLConnection
Calling webMethods from Java - 401 Unauthorized
null retrieved from env-entry resource
faultCode: {http://xml.apache.org/axis/}Authentication