Spring 3.2.1 cannot be deployed on JBoss AS7 with Hibernate 4.1.6 due to class loader issues.

Description

Spring have included support for Hibernate 4.x [1] which should allow the use of Spring and native hibernate on JBoss AS7. However the wrong classloader is used resulting a ClassNotFound exception as the [org.springframework.orm.hibernate4.SpringSessionContext] is not found.

[1] https://jira.springsource.org/browse/SPR-8096

Environment

None

Status

Assignee

Strong Liu

Reporter

Dave Stephan

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

4.1.6

Priority

Major