Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#99 closed defect (wontfix)

java.lang.NoSuchMethodError: getHibernateLazyInitializer

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: trivial Milestone:
Component: core Version:
Keywords: Cc:

Description

This bug appears when proxy objects are needed to be initialized from the database. This is not a bug in BASE but appears to be a bug in either Hibernate or the Java runtime on Linux only. There is a discussion on: http://opensource2.atlassian.com/projects/hibernate/browse/HHH-1293

It seems like the problem goes away of -server is specified in the startup options for the JVM. For Tomcat under Linux this is done by setting the CATALINA_OPTS environment variable to -server. ie. export CATALINA_OPTS=-server

Change History (2)

comment:1 by Nicklas Nordborg, 19 years ago

Resolution: wontfix
Status: newclosed

comment:2 by Nicklas Nordborg, 17 years ago

It seems like this issue was fixed in Hibernate 3.2.3. BASE 2.4 upgraded Hibernate from 3.2.1 to 3.2.4. I guess the -server option is no longer needed.

Note: See TracTickets for help on using tickets.