geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter L. Berghold" <pe...@berghold.net>
Subject Migration from tomcat to geronimo/tomcat -- Hibernate breaks
Date Fri, 28 Mar 2008 12:42:40 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

It's probably a PEBKAC on my part, but I'm missing something here I guess.

I have a web application that worked fine while I was running straight
Apache/Tomcat using the aj connector.

I created a geronimo-web.xml file for the application, packed it all
into a war file and deployed it.  When I try to access it the Hibnerate
session factory does not get created and I see an error in the logs:

%%%% Error Creating SessionFactory %%%%
org.hibernate.MappingException: Could not read mappings from resource:
org/agilitystewards/hbm/tables/Account.hbm.xml


Now mind you Account.hbm.xml is still in the same place it always was
except it is now wrapped up in a war file.

What do I need to do differently to get this to work under Geronimo?

- ----

Peter L. Berghold                   Unix Professional
Peter@Berghold.Net             AIM: redcowdawg YIM: blue_cowdawg
"Those who fail to learn from history are condemned to repeat it."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH7OfAUM9/01RIhaARApseAKCujlWkXnmVWpvDJh8GzdpZHf5sRQCgrbdE
voipNa1DZSf+9VrZvPfnPG4=
=6II4
-----END PGP SIGNATURE-----

Mime
View raw message