Is it possible to make hibernate work with Tomcat without altering the server.xml?
I don't have easy access to server.xml and I'd like to control it from my application only.....
If you are using Tomcat 5+ then you can define your context inside an xml inside your yourapp/META-INF directory:
*jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
ie: (from that link)
--------------------
Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT recommended to place <Context> elements directly in the server.xml file. Instead, put them in the META-INF/context.xml directory of your WAR file or the conf directory as described above.