-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Not able to locate cfg/hbm file in TomCat.
PostPosted: Mon Jun 01, 2009 2:23 am 
Newbie

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,


Top
 Profile  
 
 Post subject: Re: Not able to locate cfg/hbm file in TomCat.
PostPosted: Mon Jun 01, 2009 4:25 am 
Regular
Regular

Joined: Thu Sep 06, 2007 2:22 am
Posts: 108
Location: Noida,India
Please put this file under WEB-INF/classes.


Top
 Profile  
 
 Post subject: Re: Not able to locate cfg/hbm file in TomCat.
PostPosted: Mon Jun 01, 2009 6:08 am 
Newbie

Joined: Mon Jun 01, 2009 1:52 am
Posts: 2
Location: India
Even though it is not working. I have mark this problem several times with differnt machines.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.