[
https://issues.apache.org/jira/browse/AXIS2-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462593
]
Bjorn Townsend commented on AXIS2-1940:
---------------------------------------
Michele,
The example you're looking at (I assume it's
http://ws.apache.org/axis2/1_0/userguide3.html) deals with writing a client
using fireAndForget. A client thread would be likely to end prematurely as the
docs say; however your emails state that you're using fireAndForget on the
server side under Tomcat. I think that you can forego the Thread.sleep() when
you're running on the server side under Tomcat's process since there's no
danger of the Tomcat process ending before the request can be sent.
Good luck,
Bjorn
> fireAndForget and Thread.sleep
> ------------------------------
>
> Key: AXIS2-1940
> URL: https://issues.apache.org/jira/browse/AXIS2-1940
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: client-api
> Environment: java 1.5
> Reporter: Michele Mazzucco
>
> After calling sender.fireAndForget() the documentation suggests to use
> Thread.sleep(500) to ensure that the message is delivered to the receiver.
> After the last few months I've tuned this value up to 200 ms - in a LAN
> environment - but the overhead is still to high and in some circumstances it
> causes the tomcat thread pool to exhaust.
> The problem is described
> http://www.mail-archive.com/axis-user%40ws.apache.org/msg22703.html and
> http://www.mail-archive.com/axis-user%40ws.apache.org/msg22747.html.
> This isssue is particularly serious because it does not depend on the
> environment (i.e cpu or network speed).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]