Thread:
 Using Hibernate with JBoss / initilization order 
 jschulz   03 Nov 2003, 17:48 
 Re: Using Hibernate with JBoss / initilization ... 
 csak   18 Nov 2003, 17:24 
 Re: Using Hibernate with JBoss / initilization ... 
 tmaus   05 Mar 2004, 10:59 
 Re: Using Hibernate with JBoss / initilizati... 
 mathis   05 Mar 2004, 19:07 
 Facing problem with NotNull constraint with Jbo... 
 Kirti   28 Dec 2006, 07:40 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: jschulz (03 Nov 2003, 17:48) Replies: 4, Views: 39751
Subject: Using Hibernate with JBoss / initilization order
Hmm. This approach worked relativly good for me, I just avoided 
copying the hibernate libs into the server's lib directories by 
packing them into the '.sar'. 

However, when I restart the JBoss server, the hibernate service will 
not initlialize, because the the datasource I've configured isn't 
loaded at the point the '.sar' is loaded.
After this happend, the only way to get the hibernate service running 
again, is to re-deploy it. :-/

Is there a way to configure my hibernate service in a way that it only 
initializes AFTER the datasource is ready?

thanks for any comment,

J
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]