-->
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.  [ 5 posts ] 
Author Message
 Post subject: Hibernate in an EAR wiki page posted
PostPosted: Fri Jan 16, 2004 5:14 pm 
Expert
Expert

Joined: Thu Jan 08, 2004 6:17 pm
Posts: 278
http://www.hibernate.org/166.html

Thanks very much especially to Hans Prueller for his assistance in getting us off the ground!

We hope this description will be helpful to others.

Cheers!
Rob Jellinghaus at nimblefish dot com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 17, 2004 9:12 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Thanks.
Your hibernate.properties loading probably comes to the fact you put hibernate jar in {%JONAS_ROOT%}/lib/ext
So the classloader that load Hibernate is the JONAS system classloader (or something like that). Thus, the hibernate classes cannot see hibernate.properties.

I usually pack hibernate libs in my ears and play with the manifest files. I think it's cleaner ; you can use different hibernate versions in one Jonas box.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 17, 2004 2:21 pm 
Expert
Expert

Joined: Thu Jan 08, 2004 6:17 pm
Posts: 278
Hi Emmanuel. Yes, I agree your approach would be cleaner. However, I have no idea how to do it. Can you please *post an example* of your manifest files? You've mentioned this technique in at least four different threads now, but you refrain from giving details :-)

I will joyfully update the wiki page with your superior technique if you can provide enough information for me to actually implement it! If you can't provide your example manifest files, can you perhaps provide some links to pages documenting how to set up manifest classpaths properly?

And/or, can you simply send me one of your Hibernate EARs to robj at nimblefish dot com -- that alone would probably answer all my questions...?

Thanks very very much!
Cheers,
Rob


Top
 Profile  
 
 Post subject: Hibernate and JOnAS EAR integration
PostPosted: Sun Jan 18, 2004 5:59 am 
Newbie

Joined: Tue Jan 06, 2004 7:26 am
Posts: 2
Location: Austria
hi rob,

thank you for appreciating my help! I hope our work is also helpful to others!

keep on coding!

hans


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2004 2:27 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Seen, I'll check that.

_________________
Emmanuel


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