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=40881>.
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=40881


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From [EMAIL PROTECTED]  2006-11-03 05:26 -------
The problem is caused by the interlan implementaion of tomcat's cluster
replciation  DeltaSession. The cluster works only with Principal object derived
from the "org.apache.catalina.realm.GenericPrincipal".

I use an one principal implementation, just as implementation of
java.security.Principal. This avoid any conatiner specific dependencies in the
web applications and works around serval problems with the out of the box
principals of tomcat.

To get rid of the bug, i changed the cluster.session code to get rid of the
SerializablePrincipal  class. To my readings this class is not very well 
designed. The optimised serilaisation can also be places in the implmenetion of
the principal interface ( read/write object) method of java serialisation.

As quick work around, find the changed classes in the attachment:
CHANGED: SimpleTcpReplicationManager
         DeltaSession
ADDED:   PrincipalIO



-- 
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