geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Initialize Hibernate During Deployment
Date Fri, 29 Feb 2008 21:49:22 GMT
Do you have any idea what hibernate is doing?  Does this happen on  
other app servers?

If you can figure out what is triggering the initialization you might  
be able to trigger it in a listener so it happens when the app starts.

thanks
david jencks

On Feb 29, 2008, at 11:50 AM, pdennis wrote:

>
> I followed the JBoss to
> http://cwiki.apache.org/GMOxDOC20/jboss-to-geronimo-hibernate- 
> migration.html
> Geronimo Hibernate Migration  to get Hibernate working in Geronimo,  
> and it
> works just great.  My only problem is the first time I use  
> Hibernate in my
> web application, it has to initialize which takes about 2 minutes.
>
> My question is, how do I get Geronimo to initialize Hibernate when  
> I deploy
> my WAR, or when the WAR starts up (when Geronimo is restarted).   
> Has anyone
> ever done this?
>
> Thanks,
>
> Patrick
> -- 
> View this message in context: http://www.nabble.com/Initialize- 
> Hibernate-During-Deployment-tp15766273s134p15766273.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>



Mime
View raw message