Then the lookup would be successful.
Christian Bauer wrote:
We have problem with "SessionFactory not found: null" messages when Tomcat reloads a servlet context. This happens when you have a disconnected Session in your HttpSession, which is then serialized/deserialized while the classloader is restarted. This breaks the internals of Hibernate, as Hibernate tries to lookup the SessionFactoryImpl for the Session in a singleton HashMap in SessionFactoryObjectFactory on deserialization.
Note that this is not a problem usually in application servers, where the lookup can be made using JNDI. Any ideas are welcome.
http://opensource.atlassian.com/projects/hibernate/browse/HB-1069
-- Gavin King +61 41 053 4454 +1 404 822 8349
Hibernate [EMAIL PROTECTED] http://hibernate.org
JBoss Inc [EMAIL PROTECTED] http://jboss.com
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel