I am using Hibernate 2.1.8, JBoss 3.2.5, MyEclipse and SQL database.
I am new to Hibernate and JBoss, but I have written a few applications that use hibernate. These work fine as long as I only have one of my war file deployed. If I deploy all of my war files and restart JBoss, the TomCat deployer will deploy each war in alphabetical order. The problem is that each war file becomes bound to the hibernate mapping of the first war file. The first application works fine, but the others give 'No Persistent Classes Found' errors since they have the wrong mappings.
I have searched this forum and the JBoss and MyEclipse forums, but have found very little on this problem except for references to ClassLoader issues with JBoss. I posted this question to the other forums and got replies from users having the same problem, but no one has posted a solution.
My question is will creating the hibernatedoclet and xml files found in
http://www.hibernate.org/66.html fix this problem, or am I missing something? If having to create additional files to work with JBoss is the solution are there other application servers that work well with hibernate, that do not require the creation of additional files?
Thanks