Joined: Mon Jun 01, 2009 1:52 am Posts: 2 Location: India
|
Since I have started working with Hibernate I am facing similar kind of problem so many times. The problem is explained as below,
1. Several time I wont be able to find location of cfg file even i am keeping hardcoded absolute path for Configuration. 2. If application able to detect cfg file then hbm files are not able to locate.
When I am running application without webserver at that time everything goes fine. But if I debloys it on WebServer(Tomcat) then locating such file is task of god only.
I have tried several combinations and permutation but no way out was found. I am not sure if it is proble with Hibernate or Tomcat.
I really appreciate If anybody can share solution of this problem
Thanks,
|
|