DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32866>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32866

           Summary: Manager does not inherite the webapp <distributable/>
                    property
           Product: Tomcat 5
           Version: 5.0.30
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


There seems to be a slight inconsistency on the <distributable/> 
implementation as it will throw a ISE only if the manager is set to 
distributable="true". The manager will NOT inherit the webapp distributable 
property.

The documentation looks fairly consistent with my interpretation of the 
Servlet 2.4 specification (7.7.2), the Tomcat documentation states about the 
Manager distributable property that:

---
Set to true to ask the session manager to enforce the restrictions described 
in the Servlet Specification on distributable applications (primarily, this 
would mean that all session attributes must implement java.io.Serializable). 
Set to false (the default) to not enforce these restrictions.

NOTE - The value for this property is inherited automatically based on the 
presence or absence of the <distributable> element in the web application 
deployment descriptor (/WEB-INF/web.xml).
---

Looking at the source code, it is clear to me that this is not the case as the 
Manager setDistributable property is only set when parsing the server.xml (or 
context that is)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to