File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis2: Timeout when using setUseSeparateListener(true) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2: Timeout when using setUseSeparateListener(true)" Watch "Axis2: Timeout when using setUseSeparateListener(true)" New topic

Axis2: Timeout when using setUseSeparateListener(true)

emengy bh

Joined: Feb 11, 2010
Posts: 3

I'd written an asynchronous client with axis2.4.1 . Since I want to execute a long task on the server side I added the following lines:

Which as far as I understand use WS_ADDRESSING to create a "true" callback from the server side and avoid connection timeouts. Surprisely I'm still getting timeout after the default time defined in conf\axis2.xml

INFO: Unable to sendViaPost to url[http://localhost:8080/JCG/services/JCGService] Read timed out
at Method)

Any idea why this happen?

I agree. Here's the link:
subject: Axis2: Timeout when using setUseSeparateListener(true)
jQuery in Action, 3rd edition