luehe       2005/02/10 16:05:54

  Modified:    catalina/src/share/org/apache/catalina/session
                        ManagerBase.java
  Log:
  Propagate value of context's "distributable" property to its session
  manager.
  
  This is to address SRV.7.7.2:
    Within an application marked as distributable [...] The
    container must be able to handle all objects placed into instances of
    the HttpSession class using the setAttribute or putValue methods
    appropriately. The following restrictions are imposed to meet these
    conditions:
    - The container must accept objects that implement the Serializable
      interface.
  
  Revision  Changes    Path
  1.39      +2 -1      
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/ManagerBase.java
  
  Index: ManagerBase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/ManagerBase.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- ManagerBase.java  7 Feb 2005 21:56:32 -0000       1.38
  +++ ManagerBase.java  11 Feb 2005 00:05:54 -0000      1.39
  @@ -679,6 +679,7 @@
                   StandardContext ctx=(StandardContext)this.getContainer();
                   Engine eng=(Engine)ctx.getParent().getParent();
                   domain=ctx.getEngineName();
  +                distributable = ctx.getDistributable();
                   StandardHost hst=(StandardHost)ctx.getParent();
                   String path = ctx.getPath();
                   if (path.equals("")) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to