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 Phani Sekhar <ph...@masconit.com> on 2006/07/29 10:08:30 UTC
java.net.SocketException: Connection reset
Hi all,
I have an axis web service, which on receiving a request, has to process
the request and make an RPC call to another independent process(written
in c) running on the same system. But, when I am trying to execute the
client, it is giving the following exceptions. I absolutely have no idea
what is going wrong with my code.
What do I need to do in order to make it work? Can we make an RPC call
from a soap webservice to a non-soap RPC service??
Please help me..... Any suggestion is greatly appreciated.
Thx in Advance
Sekhar
Exception in thread "main" 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(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSend
er.java:583)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
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
soaprpc.ws.SoaprpcSoapBindingStub.LRNRequest(SoaprpcSoapBindingStub.java
:103)
at SoapRpcTester.main(SoapRpcTester.java:12)
{http://xml.apache.org/axis/}hostname:Jaiganesh
java.net.SocketException: Connection reset
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
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
soaprpc.ws.SoaprpcSoapBindingStub.LRNRequest(SoaprpcSoapBindingStub.java
:103)
at SoapRpcTester.main(SoapRpcTester.java:12)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSend
er.java:583)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
... 11 more
RE: java.net.SocketException: Connection reset
Posted by Phani Sekhar <ph...@masconit.com>.
Hi all,
I am strucked up with this problem.... Please help me in solving
this....
I didn't get enough information in google also..... Is this a problem
with tomcat or with Axis???
Thanks in advance
Sekhar
-----Original Message-----
From: Phani Sekhar [mailto:phani.sekhar@masconit.com]
Sent: Saturday, July 29, 2006 1:52 PM
To: axis-user@ws.apache.org
Subject: RE: java.net.SocketException: Connection reset
I forgot to mention a few things....
The Tomcat server is abruptly is terminating everytime I execute the
client... and the tomcat logs has no information of why this is
happening...
Thx
Sekhar
Hi all,
I have an axis web service, which on receiving a request, has to process
the request and make an RPC call to another independent process(written
in c) running on the same system. But, when I am trying to execute the
client, it is giving the following exceptions. I absolutely have no idea
what is going wrong with my code.
What do I need to do in order to make it work? Can we make an RPC call
from a soap webservice to a non-soap RPC service??
Please help me..... Any suggestion is greatly appreciated.
Thx in Advance
Sekhar
Exception in thread "main" 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(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSend
er.java:583)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
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
soaprpc.ws.SoaprpcSoapBindingStub.LRNRequest(SoaprpcSoapBindingStub.java
:103)
at SoapRpcTester.main(SoapRpcTester.java:12)
{http://xml.apache.org/axis/}hostname:Jaiganesh
java.net.SocketException: Connection reset
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
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
soaprpc.ws.SoaprpcSoapBindingStub.LRNRequest(SoaprpcSoapBindingStub.java
:103)
at SoapRpcTester.main(SoapRpcTester.java:12)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSend
er.java:583)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
... 11 more
RE: java.net.SocketException: Connection reset
Posted by Phani Sekhar <ph...@masconit.com>.
I forgot to mention a few things....
The Tomcat server is abruptly is terminating everytime I execute the
client... and the tomcat logs has no information of why this is
happening...
Thx
Sekhar
Hi all,
I have an axis web service, which on receiving a request, has to process
the request and make an RPC call to another independent process(written
in c) running on the same system. But, when I am trying to execute the
client, it is giving the following exceptions. I absolutely have no idea
what is going wrong with my code.
What do I need to do in order to make it work? Can we make an RPC call
from a soap webservice to a non-soap RPC service??
Please help me..... Any suggestion is greatly appreciated.
Thx in Advance
Sekhar
Exception in thread "main" 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(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSend
er.java:583)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
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
soaprpc.ws.SoaprpcSoapBindingStub.LRNRequest(SoaprpcSoapBindingStub.java
:103)
at SoapRpcTester.main(SoapRpcTester.java:12)
{http://xml.apache.org/axis/}hostname:Jaiganesh
java.net.SocketException: Connection reset
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
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
soaprpc.ws.SoaprpcSoapBindingStub.LRNRequest(SoaprpcSoapBindingStub.java
:103)
at SoapRpcTester.main(SoapRpcTester.java:12)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSend
er.java:583)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
... 11 more