• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Session Factory in Logs

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

By looking at the logs below, Can anybody tell me is the Session Factories closed?

Also i noticed the following settings enabled. Am running my application in web sphere application server. I noticed the same logs printed continuosly in my server logs and finally a heapdump is created in the server and the application fails to run.

11/4/11 14:59:39:585 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Connection release mode: on_close
11/4/11 14:59:39:573 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Automatic flush during beforeCompletion(): enabled
[11/4/11 14:59:39:576 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Automatic session close at end of transaction: enabled


Also please see " building session factory" in the logs.

Sorry! the logs might look pretty large, but i want to give as much details as possible. Appreciate any suggestions. Thanks for reading.


 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Do you like to give some more information , how you are using session .
 
chiranjeevi gunturu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure.
I am using sessions from Spring context file. Please see below.

Thanks for your help in advance!

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic