A note when deploying to a vanilla JBoss 4.0.2 application server - you may need to add the commons-collections.jar from Apache to the hibernate.deployer deployment, or the platform samples will fail with

10:59:26,958 ERROR [HibernateUtil] HIBUTIL.ERROR_0006 - Building SessionFactory failed.
java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap
at org.hibernate.mapping.Table.(Table.java:33)
The fix has been tested with the 2.1 and 3.1 versions of the commons-collections jar and succeeded. You can get the jar either from the Apache commons web site, or copy over the jar from the lib directory in the pentaho.war file.

Stop the server, drop the jar into the /server/default/deploy/jboss-hibernate.deployer directory, restart the server, and the error should be gone.

Post edited by: gmoran, at: 09/22/2005 16:14