At 1st, Hibernate can retrieve records when "getUserProfileList" is run. 
After addition of record and then "getUserProfileList" is run again. 
The following error messages display. 

Why is it so?? Is the configuration not okay?


org.apache.jasper.JasperException: org.hibernate.HibernateException:
Not able to obtain connection
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 


root cause 

java.lang.RuntimeException: org.hibernate.HibernateException: Not able
to obtain connection
com.erp.hibernate.UserProfileService.getUserProfileList(UserProfileService.java:182)
org.apache.jsp.user.addUserProfile_jsp._jspService(org.apache.jsp.user.addUserProfile_jsp:120)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to