-->
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: configuration of JBoss 4.0.0 using hibernate.cfg.xml
PostPosted: Tue Oct 05, 2004 7:11 am 
Newbie

Joined: Thu Jul 08, 2004 7:16 am
Posts: 8
Hibernate version:2.1.6

JBoss version:4.0.0


Hi!

Has the configuration as described in HIA "Configuration in managed environments" been removed from JBoss 4.0.0 ??
I set properties in hibernate.cfg.xml and create a sessionFactory by calling
Code:
sessionFactory = new Configuration().configure().buildSessionFactory();


The same *.ear works in JBoss 3.2.5 but not in version 4.0.0.
It doesn't even find hibernate.cfg.xml on startup.
Any ideas? Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 05, 2004 7:15 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Please redirect this to the JBoss forums, it looks they/we have a classloader problem here. It needs a JBoss expert to resolve.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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.