User: jules_gosnell
  Date: 02/04/12 17:40:41

  Modified:    jetty/src/main/org/jboss/jetty/session ClusteredStore.java
  Log:
  more logging and error handling
  
  Revision  Changes    Path
  1.12      +14 -6     
contrib/jetty/src/main/org/jboss/jetty/session/ClusteredStore.java
  
  Index: ClusteredStore.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/session/ClusteredStore.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ClusteredStore.java       12 Apr 2002 22:25:07 -0000      1.11
  +++ ClusteredStore.java       13 Apr 2002 00:40:41 -0000      1.12
  @@ -5,7 +5,7 @@
    * See terms of license at gnu.org.
    */
   
  -// $Id: ClusteredStore.java,v 1.11 2002/04/12 22:25:07 jules_gosnell Exp $
  +// $Id: ClusteredStore.java,v 1.12 2002/04/13 00:40:41 jules_gosnell Exp $
   
   //----------------------------------------
   
  @@ -60,7 +60,7 @@
         String id=_proxy.getSessionId();
   
         if (_log.isDebugEnabled())
  -     _log.debug("allocating distributed HttpSession id : "+id);
  +     _log.debug("allocating distributed HttpSession id: "+id);
   
         return id;
       }
  @@ -88,7 +88,7 @@
         }
         catch (Throwable ignore)
         {
  -     _log.warn("no such HttpSession : "+id);
  +     _log.warn("no such HttpSession: "+id);
         }
   
         return data;
  @@ -105,9 +105,17 @@
     public void
       remove(String id)
       {
  -      if (_log.isDebugEnabled())
  -     _log.debug("destroying distributed HttpSession: "+id);
  -      _proxy.removeHttpSession(id);
  +      try
  +      {
  +     _proxy.removeHttpSession(id);
  +
  +     if (_log.isDebugEnabled())
  +       _log.debug("destroyed distributed HttpSession: "+id);
  +      }
  +      catch (Throwable ignore)
  +      {
  +     _log.warn("removing unknown distributed HttpSession: "+id);
  +      }
       }
   
     public boolean
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to