I am trying to get my app running on JBOSS 5.0.1_GA. My app internally uses Hibernate 3.5.6 suite. And I know JBoss 5.0 uses somewhat older version. As a result I get NoClassDefinitionFound Errors during JBOSS Boot time. Is there a way I can tell JBOSS to use my Version of Hibernate inside my app? In otherwords is it possible to override the version of Hibernate used by JBOSS 5 somehow?
Here is some snippets from both Jboss-web.xml and Jboss-app.xml respectively for JBOSS 5: