[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...

Ron Sigal ron_sigal at yahoo.com
Thu Jan 18 00:27:44 EST 2007


  User: rsigal  
  Date: 07/01/18 00:27:44

  Modified:    src/main/org/jboss/remoting  Client.java
  Log:
  JBREM-669:  Catch exception from server in removeListener() and continue.
  
  Revision  Changes    Path
  1.62      +41 -35    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.61
  retrieving revision 1.62
  diff -u -b -r1.61 -r1.62
  --- Client.java	12 Dec 2006 05:14:40 -0000	1.61
  +++ Client.java	18 Jan 2007 05:27:44 -0000	1.62
  @@ -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.61 $
  + * @version $Revision: 1.62 $
    */
   public class Client implements Externalizable
   {
  @@ -1203,9 +1203,15 @@
                                metadata);
                  client.disconnect();
   
  +                     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());
  +                     }
                     }
                  }
               }
  
  
  



More information about the jboss-cvs-commits mailing list