-->
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.  [ 4 posts ] 
Author Message
 Post subject: Jboss 3.2.6 - overwriting the existing hibernate
PostPosted: Sun Jan 16, 2005 8:38 pm 
Beginner
Beginner

Joined: Sun Nov 07, 2004 4:19 pm
Posts: 38
Jboss 3.2.6 already comes with hibernate (2.1.5) - default/lib directory.

However, I want to use an updated version (2.1.7) with my app. I've been adding the new hibernate files to myapp/WEB-INF/lib directory but jboss is still using the version from the default/lib directory. How do I get jboss to use my version?

Dino


Top
 Profile  
 
 Post subject: Re: Jboss 3.2.6 - overwriting the existing hibernate
PostPosted: Mon Jan 17, 2005 8:18 am 
Beginner
Beginner

Joined: Mon Aug 16, 2004 6:09 am
Posts: 46
Location: Geneva, Switzerland
hucmuc wrote:
Jboss 3.2.6 already comes with hibernate (2.1.5) - default/lib directory.

However, I want to use an updated version (2.1.7) with my app. I've been adding the new hibernate files to myapp/WEB-INF/lib directory but jboss is still using the version from the default/lib directory. How do I get jboss to use my version?

Dino


Why not to put it directly into /server/xxx/lib ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 8:06 pm 
Beginner
Beginner

Joined: Sun Nov 07, 2004 4:19 pm
Posts: 38
It is not only the hibernate jar file. It is also the cglib and n number of other jars.

I will probably do this in the end. Thought it was strange that jboss doesn't take the apps jar file first (like weblogic).

Dino


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 8:22 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
There is something in JBoss called LoaderRepository or something, that can change this behaviour.


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