aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean
 
Similar Threads
How to query?
Session Factory in Logs
Problem using hibernate
some internal library in Hibernate logs even though logging is set to error.
Problem while staring application.. A WebGroup/Virtual Host to handle /s1gcb/logon/sbusePlz help me