You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Heemanshu Jain (JIRA)" <ax...@ws.apache.org> on 2005/11/17 11:34:41 UTC
[jira] Created: (AXIS-2306) Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
---------------------------------------------------------------------------------------
Key: AXIS-2306
URL: http://issues.apache.org/jira/browse/AXIS-2306
Project: Apache Axis
Type: Bug
Versions: 1.3
Environment: Tested on Solaris 8 and Win 2000 Prof
Reporter: Heemanshu Jain
Priority: Blocker
Hi,
I am using Apache Axis 1.3 and JDK 1.5 to consume web services from a SOAP webserver.
I have a loop which executes every 5 seconds and makes a call to the web service.
The code works fine for a few requests but I get this error after some requests at regular intervals. Nearly 1 failure in 50 requests.
I have another program written in plain java code. This program is executing with no errors. This proves that there is no problem at the server side. (This program has hardcoded SOAP request so cannot use this plain java code for production).
Is this a known bug. Is there any workaround for the same
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: Connec
tion 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(HTTPS
ender.java:583)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
.java:298)
at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
{http://xml.apache.org/axis/}hostname:DSCP07364
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(InvocationStrateg
y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
.java:298)
at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
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(HTTPS
ender.java:583)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
... 11 more
Please help.
I need to have this running asap.
Thanks in advance.
Heemanshu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2306) Error when calling recursively -Axis
Fault : java.net.SocketException Connection reset
Posted by "Dennis Kieselhorst (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXIS-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529459 ]
Dennis Kieselhorst commented on AXIS-2306:
------------------------------------------
I'm using axis 1.4 and tried CommonsHTTPSender without success. Which are the recommend HttpClientProperties to set through AxisProperties? Read AXIS-2493 and ask myself if they are really used.
Btw there is a helpful entry in the wiki: http://wiki.apache.org/ws/FrontPage/Axis/AxisCommonsHTTP
> Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
> ---------------------------------------------------------------------------------------
>
> Key: AXIS-2306
> URL: https://issues.apache.org/jira/browse/AXIS-2306
> Project: Axis
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: Tested on Solaris 8 and Win 2000 Prof
> Reporter: Heemanshu Jain
> Priority: Blocker
>
> Hi,
> I am using Apache Axis 1.3 and JDK 1.5 to consume web services from a SOAP webserver.
> I have a loop which executes every 5 seconds and makes a call to the web service.
> The code works fine for a few requests but I get this error after some requests at regular intervals. Nearly 1 failure in 50 requests.
> I have another program written in plain java code. This program is executing with no errors. This proves that there is no problem at the server side. (This program has hardcoded SOAP request so cannot use this plain java code for production).
> Is this a known bug. Is there any workaround for the same
> 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: Connec
> tion 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> {http://xml.apache.org/axis/}hostname:DSCP07364
> 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(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> ... 11 more
> Please help.
> I need to have this running asap.
> Thanks in advance.
> Heemanshu
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS-2306) Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
Posted by "Heemanshu Jain (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2306?page=comments#action_12357893 ]
Heemanshu Jain commented on AXIS-2306:
--------------------------------------
I have used WSDL2JAVA tool and have generated the stubs and am using the implementation already given.
Can you assist in using this class and explain how using this will help.
Thanks a lot for your precious time
Heemanshu
> Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
> ---------------------------------------------------------------------------------------
>
> Key: AXIS-2306
> URL: http://issues.apache.org/jira/browse/AXIS-2306
> Project: Apache Axis
> Type: Bug
> Versions: 1.3
> Environment: Tested on Solaris 8 and Win 2000 Prof
> Reporter: Heemanshu Jain
> Priority: Blocker
>
> Hi,
> I am using Apache Axis 1.3 and JDK 1.5 to consume web services from a SOAP webserver.
> I have a loop which executes every 5 seconds and makes a call to the web service.
> The code works fine for a few requests but I get this error after some requests at regular intervals. Nearly 1 failure in 50 requests.
> I have another program written in plain java code. This program is executing with no errors. This proves that there is no problem at the server side. (This program has hardcoded SOAP request so cannot use this plain java code for production).
> Is this a known bug. Is there any workaround for the same
> 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: Connec
> tion 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> {http://xml.apache.org/axis/}hostname:DSCP07364
> 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(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> ... 11 more
> Please help.
> I need to have this running asap.
> Thanks in advance.
> Heemanshu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2306) Error when calling recursively -Axis
Fault : java.net.SocketException Connection reset
Posted by "Sanchit Raizada (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2306?page=comments#action_12459517 ]
Sanchit Raizada commented on AXIS-2306:
---------------------------------------
I worked with axis 1.4 and this is how I switching to CommonsHTTPSender:
- Added following to client-config.wsdd
<deployment name="defaultClientConfig" xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<transport name="http"pivot="java:org.apache.axis.transport.http.CommonsHTTPSender" />
<transport name="https" pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"/>
<transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender"/>
- kept this descriptor before axis jars.
> Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
> ---------------------------------------------------------------------------------------
>
> Key: AXIS-2306
> URL: http://issues.apache.org/jira/browse/AXIS-2306
> Project: Apache Axis
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: Tested on Solaris 8 and Win 2000 Prof
> Reporter: Heemanshu Jain
> Priority: Blocker
>
> Hi,
> I am using Apache Axis 1.3 and JDK 1.5 to consume web services from a SOAP webserver.
> I have a loop which executes every 5 seconds and makes a call to the web service.
> The code works fine for a few requests but I get this error after some requests at regular intervals. Nearly 1 failure in 50 requests.
> I have another program written in plain java code. This program is executing with no errors. This proves that there is no problem at the server side. (This program has hardcoded SOAP request so cannot use this plain java code for production).
> Is this a known bug. Is there any workaround for the same
> 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: Connec
> tion 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> {http://xml.apache.org/axis/}hostname:DSCP07364
> 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(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> ... 11 more
> Please help.
> I need to have this running asap.
> Thanks in advance.
> Heemanshu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS-2306) Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2306?page=comments#action_12357888 ]
Davanum Srinivas commented on AXIS-2306:
----------------------------------------
try switching to CommonsHTTPSender.
> Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
> ---------------------------------------------------------------------------------------
>
> Key: AXIS-2306
> URL: http://issues.apache.org/jira/browse/AXIS-2306
> Project: Apache Axis
> Type: Bug
> Versions: 1.3
> Environment: Tested on Solaris 8 and Win 2000 Prof
> Reporter: Heemanshu Jain
> Priority: Blocker
>
> Hi,
> I am using Apache Axis 1.3 and JDK 1.5 to consume web services from a SOAP webserver.
> I have a loop which executes every 5 seconds and makes a call to the web service.
> The code works fine for a few requests but I get this error after some requests at regular intervals. Nearly 1 failure in 50 requests.
> I have another program written in plain java code. This program is executing with no errors. This proves that there is no problem at the server side. (This program has hardcoded SOAP request so cannot use this plain java code for production).
> Is this a known bug. Is there any workaround for the same
> 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: Connec
> tion 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> {http://xml.apache.org/axis/}hostname:DSCP07364
> 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(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> ... 11 more
> Please help.
> I need to have this running asap.
> Thanks in advance.
> Heemanshu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AXIS-2306) Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2306?page=all ]
Davanum Srinivas resolved AXIS-2306:
------------------------------------
Resolution: Duplicate
duplicate.
> Error when calling recursively -Axis Fault : java.net.SocketException Connection reset
> ---------------------------------------------------------------------------------------
>
> Key: AXIS-2306
> URL: http://issues.apache.org/jira/browse/AXIS-2306
> Project: Apache Axis
> Type: Bug
> Versions: 1.3
> Environment: Tested on Solaris 8 and Win 2000 Prof
> Reporter: Heemanshu Jain
> Priority: Blocker
>
> Hi,
> I am using Apache Axis 1.3 and JDK 1.5 to consume web services from a SOAP webserver.
> I have a loop which executes every 5 seconds and makes a call to the web service.
> The code works fine for a few requests but I get this error after some requests at regular intervals. Nearly 1 failure in 50 requests.
> I have another program written in plain java code. This program is executing with no errors. This proves that there is no problem at the server side. (This program has hardcoded SOAP request so cannot use this plain java code for production).
> Is this a known bug. Is there any workaround for the same
> 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: Connec
> tion 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> {http://xml.apache.org/axis/}hostname:DSCP07364
> 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(InvocationStrateg
> y.java: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 com.bt.www.mta._2005._09.MTASoapPortStub.requestCheck(MTASoapPortStub
> .java:298)
> at com.bt.www.mta.types._2005._09.Main4test.main(Main4test.java:92)
> 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(HTTPS
> ender.java:583)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> ... 11 more
> Please help.
> I need to have this running asap.
> Thanks in advance.
> Heemanshu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira