Jboss-4.0.2 hibernate bug
by, 11-06-2011 at 05:21 PM (909 Views)
Hibernate is a popular persistence engine that runs in almost any application server and provides alternative of standard entity beans. With JBoss, you can choose to deploy your application as a Hibernate archive, called a HAR file. This makes using hibernate simpler. JBoss is responsible for managing hibernate session and other configuration details.
Jboss-4.0.2 does not include Hibernate3 integration module. This requires Apache commons collections JAR. To fix this, use fix-hibernate target:
[hibernate]$ ant -f jboss-build.xml fix-hibernate
[copy] Copying 1 file to /tmp/jboss-4.0.2/server/default/deploy/jboss-hibernate.deployer
This will copy commons-collections-2.1.1.jar to the jboss-hibernate.deployer directory and redeploys the Hibernate deployer service. The Hibernate 3 service will be fully functional after this. This bug should be fixed in future releases.