[ mx4j-Bugs-993640 ] Busy Loop on SOAPConnectorServer fetching Notifications
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #993640, was opened at 2004-07-19 10:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450647&aid=993640&group_id=47745 Category: MX4J Tools Group: Release 2.0.1 Status: Open Resolution: None Priority: 5 Submitted By: Simone Bordet (biorn_steedom) Assigned to: Simone Bordet (biorn_steedom) Summary: Busy Loop on SOAPConnectorServer fetching Notifications Initial Comment: The SOAPConnectorServer can busy loop when the following happens: 1. Start SOAPConnectorServer 2. Connect a SOAPConnector; this will start the fetch notification threads 3. Close SOAPConnectorServer 4. Now the fetch notification mechanism busy loops. The problem is in DefaultRemoteNotificationServerHandler, where if the handler has been closed, we return immediately from fetchNotification(): if (closed || send) break; // circa line 315 Since we return with no problems and without waiting for the timeout, the client calls again, causing the busy loop. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450647&aid=993640&group_id=47745 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click