Hi folks,
I’m asking all around, not just here… so please bear with me on this one.
I have an application that I developed on MyEclipseIDE that has been running fine on Apache/Tomcat and now I’m trying to port it to Geronimo/Tomcat and I’m running into some annoyances.
The trouble seems to be in the Hibernate portion of the application. When I deploy the application the Session Factory cannot be instantiated and it complains that it can’t load it’s configuration files.
I checked the WAR file and sure enough the configurations are all there. I have a feeling that in my reading of the various documentations I’m overlooking something.
Anybody out there that can shed some light on this?
My Session Factory by the way follows the same pattern that the JBOSS/Geronimo docs I was able to find show. Here is the start of the stack trace where it all goes wrong:
%%%% Error Creating SessionFactory %%%%
org.hibernate.MappingException: Could not read mappings from resource: org/agilitystewards/hbm/tables/Account.hbm.xml