Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004357 [Resin] minor always 01-24-11 12:30 02-17-11 16:02
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.14
Summary 0004357: Hibernate Lazy Initialization Issue with Hessian-based sessions
Description rep by Matthew Schmidt: We're seeing an interesting bug here. Resin in its default configuration seems to do a deep initialization of any object that is being serialized after login with Spring Security. In our case, this happens to be a User object that has some lazy loaded lists of objects, which contains other lazy loaded lists. When we use the regular Java serialization for sessions, this is fine. When we use the default configuration is goes through and executes what appears to be thousands of queries as it tries to initialize everything. Is this the intended behavior?
Additional Information
Attached Files

- Relationships

- Notes
(0005067)
ferg
02-17-11 16:02

hessian/3b4i

This should already be fixed in Resin 4.0.14. Earlier versions of Hessian did use the default constructor, but current ones will use the same method as Java I/O serialization to create the object without calling the constructor.
 

- Issue History
Date Modified Username Field Change
01-24-11 12:30 alex New Issue
02-17-11 16:02 ferg Note Added: 0005067
02-17-11 16:02 ferg Assigned To  => ferg
02-17-11 16:02 ferg Status new => closed
02-17-11 16:02 ferg Resolution open => fixed
02-17-11 16:02 ferg Fixed in Version  => 4.0.14


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker