wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean" Watch "Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean" New topic
Author

Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean

chiranjeevi gunturu
Ranch Hand

Joined: Mar 02, 2007
Posts: 59
Hi All,
I need a big favor from you.

My application has memory leak problems. I was trying to find out and i see the problem with Hibernate Session Factories.
The console is showing that Hibernate Session Factories are created several times. Apparently it is going out of Memory.

Below are the logs am seeing. The same logs are continuing my console. Can anyone help/tell me why the session Factories are created continuously.
I see a file LocalSessionFactoryBean in the spring Jar file is running this. Also please see the applicationContext file below.

Thanks in advance!




Here is the applicationContext.xml that i have.





Thanks


chiranjeevi gunturu
Ranch Hand

Joined: Mar 02, 2007
Posts: 59

Hi,
Can any one suggest me if any of the below settings need to modify to stop creating open session factories.

How would i know the session factories created a closed from logs? Thanks in advance!

 
 
subject: Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean
 
Similar Threads
Session Factory in Logs
Problem using hibernate
Problem while staring application.. A WebGroup/Virtual Host to handle /s1gcb/logon/sbusePlz help me
some internal library in Hibernate logs even though logging is set to error.
How to query?