Joao Cunha [
http://community.jboss.org/people/jpcunha] created the discussion
"Classloader parent delegation on Jboss AS7"
To view the discussion, visit:
http://community.jboss.org/message/614481#614481
--------------------------------------------------------------
I'm migrating my application from jboss6->7rc1, and I'm having some issues with
the new classloading mechanism. My Ear contains an older version of Hibernate on the ear
lib folder, and when the application is starting up i get a java.lang.NoSuchMethodError:
org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session; because
classloader requests are being delegated to the parent classloader, thus trying to use the
new hibernate jars bundled on jboss7. On jboss6 everything was working great with
java2ParentDelegation set to false.
Do you guys have any idea how can I get my bundled hibernate jars to work?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/614481#614481]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]