tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40881] - Unable to receive message through TCP channel -> Nullpointer
Date Fri, 03 Nov 2006 13:26:41 GMT
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


paul.hettl@mindmatics.com changed:

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




------- Additional Comments From paul.hettl@mindmatics.com  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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message