Could not open or inject a Hibernate Session in ValueStack
posted 4 years ago
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.