I'm having a bit of a weird problem,
I've built a war file and am trying to deploy it to various web servers for testing.
So far I can successfully deploy to JRun 4 and JBoss 3.2.2 (I'm not configuring Hibernate with an MBean but it works fine anyway).
However, under Tomcat 4.1.24 and Tomcat 5.0.11 I get an exception during initialization:
Code:
net.sf.hibernate.MappingException: Resource: package/FifthFile.hbm.xml not found
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:289)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:944)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:896)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:847)
Does anyone know why it can't find the fifth file in my list of mappings in hibernate.cfg.xml under either version of Tomcat but it works just fine under JRun 4 and JBoss 3.2.2 (which is built on Tomcat right?)?
Under JBoss 4.0.0 DR2 I get various weird errors but none of them are hibernate related.
There are no differences in my build process, I'm using the exact same .WAR file and just copying it into the different server's deploy dirs to be picked up automatically when they are started.
Thank-you.