Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Could not open or inject a Hibernate Session in ValueStack  RSS feed

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, seniors

I got a problem which I could not figure it out.

I got a simple application, which use hibernate 3.xx and struts 2.xx

Every thing is working fine. but one problem, which is when I restart my application for the first time or after some time when there is gap between the previous request of the page and the future coming request, I am having the following error.




after reading some similar problems, it is assumed (I guest) because of the connection which is dead after some period. and suggest to use connection pooling. So, I tried but not succeed yet.

So, if someone already come across to this point or know how to figure it out. please let me know.

This post is uploaded after reading similar problems and uploaded after this post.
Thanks in advance.
 
Acetylsalicylic acid is aspirin. This could be handy too:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!