-->
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.  [ 2 posts ] 
Author Message
 Post subject: Unable to read mapping resource(hbm file) from weblogic
PostPosted: Mon Feb 13, 2006 8:58 am 
Beginner
Beginner

Joined: Fri Nov 18, 2005 5:49 am
Posts: 23
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Hi ,

we are using Hibernate 3.0 with weblogic 9.0. The application is successfully deployed. It is an EAR application.

The hbm files are in a jar file.

When we try to run the application , we get the error

Resource org.hibernate.mapping exception. Resource : com\enfs\pes\dao\hbm\IDCounter.hbm.xml not found.

we have included the jar file containing hbm and pojo files in the classpath
(in preferences)

pl help us. this is very urgent.

Regards

Seshadri


Top
 Profile  
 
 Post subject: Re: Unable to read mapping resource(hbm file) from weblogic
PostPosted: Wed Feb 15, 2006 4:37 am 
Beginner
Beginner

Joined: Mon Jan 30, 2006 2:28 am
Posts: 47
Location: INDIA
Hi Mr.Sesathri,

1.Pls try to extract file and check that file available or not.
2.Or configure all the mapping files into hibernate.cfg.xml
3.Check this link
http://access1.sun.com/techarticles/Dis ... gEARs.html

_________________
A.Edward Durai
"The things which are impossible with men are possible with God."


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.