-->
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: Hibernate with Websphere 6 -> how to deploy?
PostPosted: Thu Aug 11, 2005 3:42 am 
Newbie

Joined: Wed Sep 15, 2004 9:35 am
Posts: 13
Hi,
I want to deploy a Session Bean on Websphere 6 wich access a database via hibernate 2.

I always get the exception-> hibernate.cfg.xml not found.

Where have I to deploy the hibernate.cfg.xml???
inside the jar/ear or somewhere on the root folder of the application server?


can anybody help me?



bye
Matthias


Top
 Profile  
 
 Post subject: Re:Hibernate with Websphere 6 -> how to deploy?
PostPosted: Thu Aug 11, 2005 3:55 am 
Beginner
Beginner

Joined: Thu Jan 13, 2005 10:50 am
Posts: 30
Location: Minneapolis, MN
Hibernate always look for hibernate.cfg.xml at the root of the classpath you specify. That is in your case you can try putting the config file at the root of your EJB project


Top
 Profile  
 
 Post subject: Save ur hibernate.cfg.xml file inside ejbmodule folder in E
PostPosted: Fri Aug 11, 2006 1:39 pm 
Newbie

Joined: Sat Jul 22, 2006 1:47 pm
Posts: 11
Hi,

Save ur hibernate.cfg.xml file inside ejbmodule folder in EJB Project.


or

inside /WEB_INF/classes in web project.

Chamal.


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.