Hi,
I'm new to Hibnerate so I'm going through the tutorial at
http://www.gloegl.de/5.html. Specifically, I am working on the tomcat and webwork portion of the tutorial.
I've written the code, but when I go to deploy in under tomcat I get these exception when starting the app:
2004-04-12 22:35:43 StandardManager[/eventmanager]: Seeding random number generator class java.security.SecureRandom
2004-04-12 22:35:43 StandardManager[/eventmanager]: Seeding of random number generator has been completed
2004-04-12 22:35:45 StandardContext[/eventmanager]: Exception starting filter sessionmanager
javax.servlet.ServletException: Error reading resource: com/adhamh/road2hibernate/data/Event.hbm.xml
at com.adhamh.road2hibernate.util.SessionManager.init(SessionManager.java:41)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:327)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:120)
What would cause this? The file appears to be in the correct place as seen here:
adhamh@Amsterdam:webapps/eventmanager:>pwd
/usr/local/tomcat/webapps/eventmanager
adhamh@Amsterdam:webapps/eventmanager:>find . -print | grep hbm
./WEB-INF/classes/com/adhamh/road2hibernate/data/Event.hbm.xml
./WEB-INF/classes/com/adhamh/road2hibernate/data/User.hbm.xml
Thanks,
Adhamh