You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Ch...@mac-its.com on 2008/05/09 16:28:56 UTC
Problems using Axis2 on i5/iSeries/AS400
Hi all,
I downloaded the latest Synapse 1.1.1 with Axis2 to implement it on the
as400 system. (Java 1.5)
When trying samples by Synapse, I can start Synapse and Axis2server
successfully both on the PC and on the as400(without any error), but just
cannot use the clientservice to call axis2server listener on as400, which
works well on PC.
So I've tested Axis2server seperately (without using Synapse) and directly
called service between Client and Server.
Client -----> Synapse -----> Axis2Server(Service)
8080 9000
Client -----> Axis2Server
9000
It worked great on PC and got the stockquote=xxxxx result. However on the
as400, axis2server did not work but reported an ERROR.
2008-05-09 09:28:49,080 [-] [HttpServerWorker-1] ERROR ServerWorker Error
processing POST request
org.apache.axis2.AxisFault: The [action] cannot be processed at the
receiver.
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at java.io.IOException.<init>(IOException.java:28)
at java.rmi.RemoteException.<init>(RemoteException.java:51)
at org.apache.axis2.AxisFault.<init>(AxisFault.java:126)
at org.apache.axis2.AxisFault.<init>(AxisFault.java:269)
at
org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:355)
at
org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSupportedFault(AddressingFaultsHelper.java:320)
at
org.apache.axis2.handlers.addressing.AddressingValidationHandler.checkAction(AddressingValidationHandler.java:140)
at
org.apache.axis2.handlers.addressing.AddressingValidationHandler.invoke(AddressingValidationHandler.java:53)
at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at
org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:226)
at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:190)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Does anyone know, what's wrong here with axis2 and as400????? I really
really need to solve this problem soonly and begin my implementation of
Synapse............
Thousand thanks,
Cynthia
Re: Problems using Axis2 on i5/iSeries/AS400
Posted by Upul Godage <up...@gmail.com>.
May be the 'action' header is garbled or something in the request.
Did you check sample 1 in the Synapse. It does not use addressing but sample
0 does, I think. Or try sample 1 directly without Synapse.
ant stockquote -Dtrpurl=http://localhost:9000/soap/SimpleStockQuoteService
Was there a WARN log before the ERROR log in the axis2server logs? You may
need to enable the root log level in the log4j.xml.
Could you put something like tcpmon between axis2server and client and see
what axis2server gets and the fault axis2server is returning. The fault
should have some details about the problem.
Upul
On Fri, May 9, 2008 at 7:58 PM, <Ch...@mac-its.com> wrote:
> Hi all,
>
> I downloaded the latest Synapse 1.1.1 with Axis2 to implement it on the
> as400 system. (Java 1.5)
> When trying samples by Synapse, I can start Synapse and Axis2server
> successfully both on the PC and on the as400(without any error), but just
> cannot use the clientservice to call axis2server listener on as400, which
> works well on PC.
>
> So I've tested Axis2server seperately (without using Synapse) and directly
> called service between Client and Server.
>
>
> Client -----> Synapse -----> Axis2Server(Service)
> 8080 9000
>
> Client -----> Axis2Server
> 9000
>
>
> It worked great on PC and got the stockquote=xxxxx result. However on the
> as400, axis2server did not work but reported an ERROR.
>
>
> 2008-05-09 09:28:49,080 [-] [HttpServerWorker-1] ERROR ServerWorker Error
> processing POST request
> org.apache.axis2.AxisFault: The [action] cannot be processed at the
> receiver.
> at java.lang.Throwable.<init>(Throwable.java:181)
> at java.lang.Exception.<init>(Exception.java:29)
> at java.io.IOException.<init>(IOException.java:28)
> at java.rmi.RemoteException.<init>(RemoteException.java:51)
> at org.apache.axis2.AxisFault.<init>(AxisFault.java:126)
> at org.apache.axis2.AxisFault.<init>(AxisFault.java:269)
> at
>
> org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:355)
> at
>
> org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSupportedFault(AddressingFaultsHelper.java:320)
> at
>
> org.apache.axis2.handlers.addressing.AddressingValidationHandler.checkAction(AddressingValidationHandler.java:140)
> at
>
> org.apache.axis2.handlers.addressing.AddressingValidationHandler.invoke(AddressingValidationHandler.java:53)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
> at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at
>
> org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:226)
> at
> org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:190)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
>
>
> Does anyone know, what's wrong here with axis2 and as400????? I really
> really need to solve this problem soonly and begin my implementation of
> Synapse............
>
>
>
>
> Thousand thanks,
> Cynthia
>
>
>
Re: Problems using Axis2 on i5/iSeries/AS400
Posted by Upul Godage <up...@gmail.com>.
Also better check with something like Tomcat after changing the port number
to 9000 (conf/server.xml) instead of 8080. May be ports like 9000 are closed
but 8080 is open.
On Fri, May 9, 2008 at 9:36 PM, Upul Godage <up...@gmail.com> wrote:
> Have you tried out something like Tomcat in the AS400 machine, a fresh
> copy, started up and tried accessing it by a web browser, or better, try
> using a simple http client program just to see whether it works, anything
> else than a socket timeout. May be a firewall is preventing new applications
> from acting as servers.
>
> Upul
>
>
> On Fri, May 9, 2008 at 9:14 PM, <Ch...@mac-its.com> wrote:
>
>> I forgot also this error...
>> always Timeout......
>>
>>
>> 2008-05-09 17:36:56,069 [-] [Thread-0] DEBUG SOAPMessageFormatter
>> contentType from the OMOutputFormat =text/xml
>> 2008-05-09 17:36:56,091 [-] [Thread-0] DEBUG SOAPMessageFormatter
>> contentType returned =text/xml; charset=UTF-8
>> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter start
>> writeTo()
>> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
>> preserve=false
>> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
>> isOptimized=false
>> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
>> isDoingSWA=false
>> 2008-05-09 17:36:56,650 [-] [Thread-0] DEBUG SOAPMessageFormatter end
>> writeTo()
>> 2008-05-09 17:37:26,735 [-] [Thread-0] INFO HTTPSender Unable to
>> sendViaPost to url[http://localhost:9000/soap/StockQuote]
>> java.net.SocketTimeoutException: Leseanforderung hat Zeitlimit
>> }berschritten.
>> at java.lang.Throwable.<init>(Throwable.java:196)
>> at java.lang.Exception.<init>(Exception.java:41)
>> at java.io.IOException.<init>(IOException.java:40)
>> at
>> java.net.SocketTimeoutException.<init>(SocketTimeoutException.java:24)
>> at java.net.SocketInputStream.read(SocketInputStream.java:129)
>> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>> at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
>> at
>> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
>> at
>> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
>> at
>>
>> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
>> at
>>
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373)
>> at
>>
>> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
>> at
>>
>> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
>> at
>>
>> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
>> at
>>
>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
>> at
>>
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
>> at
>>
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>> at
>>
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>> at
>>
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
>> at
>>
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
>> at
>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>> at
>>
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
>> at
>>
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
>> at
>>
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
>> at
>>
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>> at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
>> at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
>> at samples.userguide.StockQuoteClient.executeClient(Unknown
>> Source)
>> at samples.userguide.StockQuoteClient.main(Unknown Source)
>> 2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
>> org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.
>> 2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
>> org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.
>>
>>
>
Re: Problems using Axis2 on i5/iSeries/AS400
Posted by Upul Godage <up...@gmail.com>.
Have you tried out something like Tomcat in the AS400 machine, a fresh copy,
started up and tried accessing it by a web browser, or better, try using a
simple http client program just to see whether it works, anything else than
a socket timeout. May be a firewall is preventing new applications from
acting as servers.
Upul
On Fri, May 9, 2008 at 9:14 PM, <Ch...@mac-its.com> wrote:
> I forgot also this error...
> always Timeout......
>
>
> 2008-05-09 17:36:56,069 [-] [Thread-0] DEBUG SOAPMessageFormatter
> contentType from the OMOutputFormat =text/xml
> 2008-05-09 17:36:56,091 [-] [Thread-0] DEBUG SOAPMessageFormatter
> contentType returned =text/xml; charset=UTF-8
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter start
> writeTo()
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
> preserve=false
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
> isOptimized=false
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
> isDoingSWA=false
> 2008-05-09 17:36:56,650 [-] [Thread-0] DEBUG SOAPMessageFormatter end
> writeTo()
> 2008-05-09 17:37:26,735 [-] [Thread-0] INFO HTTPSender Unable to
> sendViaPost to url[http://localhost:9000/soap/StockQuote]
> java.net.SocketTimeoutException: Leseanforderung hat Zeitlimit
> }berschritten.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.io.IOException.<init>(IOException.java:40)
> at
> java.net.SocketTimeoutException.<init>(SocketTimeoutException.java:24)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
> at
> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
> at
> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
> at
>
> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
> at
>
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373)
> at
>
> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
> at
>
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
> at
>
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
> at
>
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
> at
>
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
> at
>
> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
> at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
> at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
> at
>
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at
>
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
> at samples.userguide.StockQuoteClient.executeClient(Unknown
> Source)
> at samples.userguide.StockQuoteClient.main(Unknown Source)
> 2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
> org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.
> 2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
> org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.
>
>
Re: Problems using Axis2 on i5/iSeries/AS400
Posted by Ruwan Linton <ru...@gmail.com>.
Hi Cynthia,
Could you please send us the request message that you are sending to the
axis2 server including the HTTP headers? you may use the TCPMon tool or
tcpdump to capture the request being send over the transport.
I strongly believe that this issue is due to a soapAction or wsa action
failure.
At the same time, what is the command that you have use to send th request?
Thanks,
Ruwan
On Fri, May 9, 2008 at 9:14 PM, <Ch...@mac-its.com> wrote:
> I forgot also this error...
> always Timeout......
>
>
> 2008-05-09 17:36:56,069 [-] [Thread-0] DEBUG SOAPMessageFormatter
> contentType from the OMOutputFormat =text/xml
> 2008-05-09 17:36:56,091 [-] [Thread-0] DEBUG SOAPMessageFormatter
> contentType returned =text/xml; charset=UTF-8
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter start
> writeTo()
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
> preserve=false
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
> isOptimized=false
> 2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
> isDoingSWA=false
> 2008-05-09 17:36:56,650 [-] [Thread-0] DEBUG SOAPMessageFormatter end
> writeTo()
> 2008-05-09 17:37:26,735 [-] [Thread-0] INFO HTTPSender Unable to
> sendViaPost to url[http://localhost:9000/soap/StockQuote]
> java.net.SocketTimeoutException: Leseanforderung hat Zeitlimit
> }berschritten.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.io.IOException.<init>(IOException.java:40)
> at
> java.net.SocketTimeoutException.<init>(SocketTimeoutException.java:24)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
> at
> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
> at
> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
> at
>
> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
> at
>
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373)
> at
>
> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
> at
>
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
> at
>
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
> at
>
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
> at
>
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
> at
>
> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
> at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
> at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
> at
>
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at
>
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
> at samples.userguide.StockQuoteClient.executeClient(Unknown
> Source)
> at samples.userguide.StockQuoteClient.main(Unknown Source)
> 2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
> org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.
> 2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
> org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.
>
>
--
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"
Re: Problems using Axis2 on i5/iSeries/AS400
Posted by Ch...@mac-its.com.
O...oO...
Sorry, I have got a copy mistake...
But http://localhost:9000/soap/SimpleStockQuoteService doesn't work also
(although the website shows the functions)...
Tomcat was installed on the as400 and works well.
Firewall......We will see, if anything should be change.
> a soapAction or wsa action failure...?
eh...I'm fresh to this field. I will ask my leader and see what he thinks.
>Could you please send us the request message that you are sending to the
>axis2 server including the HTTP headers? you may use the TCPMon tool or
>tcpdump to capture the request being send over the transport.
It seems I cannot use tools like TCPMon and tcpdump to capture the request
on the AS400 ( yes, I knew and used tools called wireshark sometime
before, but AS400 is little different...I have to )...
The request command I use >>>>>> ant stockquote
-Dtrpurl=http://localhost:9000/soap/SimpleStockQuoteService
Oops..!
> 2008-05-09 17:37:26,735 [-] [Thread-0] INFO HTTPSender Unable to
> sendViaPost to url[http://localhost:9000/soap/StockQuote]
> java.net.SocketTimeoutException: Leseanforderung hat Zeitlimit
> }berschritten.
>
>
Ok.. the above is wrong.. when you are talking to the sample service
hosted on the sample axis2 server on port 9000, the address should look
something like: http://localhost:9000/soap/SimpleStockQuoteService
asankha
Re: Problems using Axis2 on i5/iSeries/AS400
Posted by "Asankha C. Perera" <as...@wso2.com>.
Oops..!
> 2008-05-09 17:37:26,735 [-] [Thread-0] INFO HTTPSender Unable to
> sendViaPost to url[http://localhost:9000/soap/StockQuote]
> java.net.SocketTimeoutException: Leseanforderung hat Zeitlimit
> }berschritten.
>
>
Ok.. the above is wrong.. when you are talking to the sample service
hosted on the sample axis2 server on port 9000, the address should look
something like: http://localhost:9000/soap/SimpleStockQuoteService
asankha
Re: Problems using Axis2 on i5/iSeries/AS400
Posted by Ch...@mac-its.com.
I forgot also this error...
always Timeout......
2008-05-09 17:36:56,069 [-] [Thread-0] DEBUG SOAPMessageFormatter
contentType from the OMOutputFormat =text/xml
2008-05-09 17:36:56,091 [-] [Thread-0] DEBUG SOAPMessageFormatter
contentType returned =text/xml; charset=UTF-8
2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter start
writeTo()
2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
preserve=false
2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
isOptimized=false
2008-05-09 17:36:56,615 [-] [Thread-0] DEBUG SOAPMessageFormatter
isDoingSWA=false
2008-05-09 17:36:56,650 [-] [Thread-0] DEBUG SOAPMessageFormatter end
writeTo()
2008-05-09 17:37:26,735 [-] [Thread-0] INFO HTTPSender Unable to
sendViaPost to url[http://localhost:9000/soap/StockQuote]
java.net.SocketTimeoutException: Leseanforderung hat Zeitlimit
}berschritten.
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at
java.net.SocketTimeoutException.<init>(SocketTimeoutException.java:24)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
at samples.userguide.StockQuoteClient.executeClient(Unknown
Source)
at samples.userguide.StockQuoteClient.main(Unknown Source)
2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.
2008-05-09 17:37:26,760 [-] [Thread-0] DEBUG CommonsHTTPTransportSender
org.apache.axis2.AxisFault: Leseanforderung hat Zeitlimit }berschritten.