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 Domenico Nappo <do...@gmail.com> on 2008/07/03 11:42:53 UTC
Problem with Axis2 client in JBoss 4 environment
Hi all,
we have a problem in invoking a web service (exposed in Siebel CRM) in
a JBoss environment.
The client code is generated with Axis2 (with adb mapping). It works
fine in a stand-alone environment.
When we use the client in a web-app deployed on JBoss, a Socket
exception occurs.
We think that it's a library version problem (some libraries in
Jboss/lib come in conflict with some Axis2 libs???).
How can we solve it?
Thanks in advance!
The exception stack trace is the following:
[HTTPSender] Unable to sendViaPost to
url[http://xxxx.xxxx.org/eai_ita/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=user&Password=password]
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at com.xxxxorg.app.util.RG_spcWS_spcSR_spcInboundStub.Insert(RG_spcWS_spcSR_spcInboundStub.java:152)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Problem with Axis2 client in JBoss 4 environment
Posted by Domenico Nappo <do...@gmail.com>.
2008/7/3 Domenico Nappo <do...@gmail.com>:
> Hi all,
>
> we have a problem in invoking a web service (exposed in Siebel CRM) in
> a JBoss environment.
>
> The client code is generated with Axis2 (with adb mapping). It works
> fine in a stand-alone environment.
> When we use the client in a web-app deployed on JBoss, a Socket
> exception occurs.
>
> We think that it's a library version problem (some libraries in
> Jboss/lib come in conflict with some Axis2 libs???).
> How can we solve it?
> Thanks in advance!
>
> The exception stack trace is the following:
>
> [HTTPSender] Unable to sendViaPost to
> url[http://xxxx.xxxx.org/eai_ita/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=user&Password=password]
> java.net.SocketException: Software caused connection abort: recv failed
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
Sorry.
It was simply a proxy configuration problem!
Bye.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org