Bug 44833 - DeltaSession Externalization Problem
Summary: DeltaSession Externalization Problem
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Cluster (show other bugs)
Version: 6.0.16
Hardware: All All
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 06:43 UTC by Alexander
Modified: 2008-05-15 08:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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