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 "Todd Chisholm (JIRA)" <ji...@apache.org> on 2011/08/03 19:19:27 UTC

[jira] [Created] (AXIS2-5111) Asynchronous Axis client call timing out

Asynchronous Axis client call timing out
----------------------------------------

                 Key: AXIS2-5111
                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.6.0, 1.5.4
         Environment: Ubuntu 10.10
Apache Tomcat 7.0.11
            Reporter: Todd Chisholm


A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Reopened] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reopened AXIS2-5111:
--------------------------------------

      Assignee: Deepal Jayasinghe

Amila,

Seems like you have not understood the issue correctly, so please do not mark the issue as fixed.

I agree that service author should set the parameter, but the real bug is why not we send the ACK once we see the replyTo header. We do not need to wait to send the ACK until we complete the request processing.

Thanks,
Deepal


> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108073#comment-13108073 ] 

Andreas Veithen commented on AXIS2-5111:
----------------------------------------

As far as I can see, the change was not included in 1.6.1. I can try to merge it to the 1.6 branch for inclusion in 1.6.2.

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>             Fix For: 1.7.0
>
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107951#comment-13107951 ] 

Tammo van Lessen commented on AXIS2-5111:
-----------------------------------------

Another question: is this fixed in 1.6.1 (this was closed on Aug 7 and 1.6.1 was released on Aug 30) ?

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>             Fix For: nightly
>
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108160#comment-13108160 ] 

Hudson commented on AXIS2-5111:
-------------------------------

Integrated in axis2-1.6 #79 (See [https://builds.apache.org/job/axis2-1.6/79/])
    AXIS2-5111: Merged r1154615 to the 1.6 branch.

veithen : 
Files : 
* /axis/axis2/java/core/branches/1_6
* /axis/axis2/java/core/branches/1_6/modules/integration/test/org/apache/axis2/deployment/TargetResolverServiceTest.java
* /axis/axis2/java/core/branches/1_6/modules/integration/test/org/apache/axis2/engine/Echo.java
* /axis/axis2/java/core/branches/1_6/modules/integration/test/org/apache/axis2/engine/LongRunningServiceTest.java
* /axis/axis2/java/core/branches/1_6/modules/integration/test/org/apache/axis2/engine/PausingHandlerExecutionTest.java
* /axis/axis2/java/core/branches/1_6/modules/integration/test/org/apache/axis2/integration/UtilServer.java
* /axis/axis2/java/core/branches/1_6/modules/kernel/src/org/apache/axis2/receivers/AbstractMessageReceiver.java


> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>             Fix For: 1.7.0
>
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-5111.
-------------------------------------------------

    Resolution: Fixed

This is because client does not get the 202 Accepted message from the server. please set the messageReceiver.invokeOnSeparateThread parameter to true in your services.xml if the service deployed with axis2.

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-5111:
-----------------------------------

    Fix Version/s:     (was: nightly)
                   1.7.0

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>             Fix For: 1.7.0
>
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Todd Chisholm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Chisholm updated AXIS2-5111:
---------------------------------

    Attachment: MyService.java

The service, which is just the example1 MyService.java, with a 1 minute delay.

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-5111.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: nightly

I have fixed the issue in current trunk, you can test it with nightly builds. Fix will be there in next release.

Thanks.
Deepal

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>             Fix For: nightly
>
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107946#comment-13107946 ] 

Tammo van Lessen commented on AXIS2-5111:
-----------------------------------------

In case someone is also wondering in which change set this issue was fixed, here you go: https://github.com/apache/axis2-java/commit/9f91a19a81f64f5997bd3c2deb731e987c8c7859

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>             Fix For: nightly
>
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-5111:
-----------------------------------

    Fix Version/s: 1.6.2

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>            Assignee: Deepal Jayasinghe
>             Fix For: 1.6.2, 1.7.0
>
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5111) Asynchronous Axis client call timing out

Posted by "Todd Chisholm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Chisholm updated AXIS2-5111:
---------------------------------

    Attachment: asyncNonBlockDualClient.java

The client.

> Asynchronous Axis client call timing out
> ----------------------------------------
>
>                 Key: AXIS2-5111
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5111
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 1.6.0
>         Environment: Ubuntu 10.10
> Apache Tomcat 7.0.11
>            Reporter: Todd Chisholm
>         Attachments: MyService.java, asyncNonBlockDualClient.java
>
>
> A simple asynchronous client (using setUseSeparateListener(true) and sendReceiveNonBlocking) calling a simple axis server times out after 30 seconds (the server has a one-minute delay in returning).  I expected the client to wait indefinitely because it is asynchronous.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org