Bug 44833

Summary: DeltaSession Externalization Problem
Product: Tomcat 6 Reporter: Alexander <alpsoft>
Component: ClusterAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.0.16   
Target Milestone: default   
Hardware: All   
OS: All   

Description Alexander 2008-04-17 06:43:24 UTC
Location:

class
  org.apache.catalina.ha.session.DeltaManager

methods
  deserializeSessions()
	ObjectInputStream ois = null;
	...
	DeltaSession session = (DeltaSession) createEmptySession();
	session.readObjectData(ois);
and
  serializeSessions()
	ObjectOutputStream oos = null;
	...
	((DeltaSession)currentSessions[i]).writeObjectData(oos);                

Description:

In both cases methods StandardSession.readObjectData(ObjectInputStream) and StandardSession.writeObjectData(ObjectOutputStream) will be invoked instead of expected invokation of methods DeltaManager.readObjectData(ObjectInput) and DeltaManager.writeObjectData(ObjectOutput).
Comment 1 Filip Hanik 2008-04-17 12:18:49 UTC
Fixed in trunk, backport to 6.0.x has been proposed.
http://svn.apache.org/viewvc?view=rev&revision=649238
Comment 2 Filip Hanik 2008-05-15 08:57:12 UTC
fixed, will be in 6.0.17