[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Tue Jan 16 00:49:40 EST 2007
User: rsigal
Date: 07/01/16 00:49:40
Modified: src/main/org/jboss/remoting Tag: remoting_2_x Client.java
Log:
JBREM-669: Catch exception from server in removeListener() and continue.
Revision Changes Path
No revision
No revision
1.53.2.12 +9 -3 JBossRemoting/src/main/org/jboss/remoting/Client.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Client.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/Client.java,v
retrieving revision 1.53.2.11
retrieving revision 1.53.2.12
diff -u -b -r1.53.2.11 -r1.53.2.12
--- Client.java 14 Dec 2006 00:58:39 -0000 1.53.2.11
+++ Client.java 16 Jan 2007 05:49:40 -0000 1.53.2.12
@@ -63,7 +63,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
- * @version $Revision: 1.53.2.11 $
+ * @version $Revision: 1.53.2.12 $
*/
public class Client implements Externalizable
{
@@ -1200,9 +1200,15 @@
Map metadata = new HashMap();
metadata.put(LISTENER_ID_KEY, listenerId);
+ try
+ {
// now call target server to remove listener
invoke(new InternalInvocation(InternalInvocation.REMOVELISTENER, null), metadata);
-
+ }
+ catch (Exception e)
+ {
+ log.warn("unable to remove remote callback handler: " + e.getMessage());
+ }
// call to callback server to remove listener
Client client = new Client(locator, subsystem);
client.setSessionId(getSessionId());
More information about the jboss-cvs-commits
mailing list