axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mazzucco (JIRA)" <>
Subject [jira] Commented: (AXIS2-1940) fireAndForget and Thread.sleep
Date Sat, 06 Jan 2007 22:35:27 GMT


Michele Mazzucco commented on AXIS2-1940:


thanks very much for your reply. The documentation I've mentioned is
(One Way Client section) isn't very clear, but what you say does make sense.
Yes, I'm using the fireAndForget inside tomcat (which sometimes works as client), so do you
think is safe to remove the sleep call?

I've found out that this issue had already been raised several month ago (
Supposing your advice is correct, the problem remains on the client side because, as Jouko
and I say, the sleep wastes a lot of time, reducing considerably the rate at which messages
can be sent.

Finally, what about the problem described here

Best regards,

> fireAndForget and Thread.sleep
> ------------------------------
>                 Key: AXIS2-1940
>                 URL:
>             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 (
- one way client) suggests to use Thread.sleep(500) to ensure that the message is delivered
to the receiver. 
> Over 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
> This issue 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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message