aspose file tools*
The moose likes Struts and the fly likes hibernate.JDBCException: Could not execute query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "hibernate.JDBCException: Could not execute query" Watch "hibernate.JDBCException: Could not execute query" New topic
Author

hibernate.JDBCException: Could not execute query

Shaikh Riyaz
Greenhorn

Joined: Mar 08, 2005
Posts: 20
Hi ,
I am running my application on Tomcat 5.0.
I am using Struts and hibernate in my application ,but it is showing some error.plz help me solving.

Here is stackTrace---------->
javax.servlet.ServletException: javax.servlet.jsp.JspException: net.sf.hibernate.JDBCException: Could not execute query
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:821)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.WEB_002dINF.jsp.view.projects_jsp._jspService(projects_jsp.java:407)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.quest.pms.security.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:49)
com.quest.pms.db.hibernate.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:63)


root cause

com.quest.pms.security.AuthenticationException: net.sf.hibernate.JDBCException: Could not execute query
com.quest.pms.security.auth.AuthorizerImpl.hasPermission(AuthorizerImpl.java:69)
com.quest.pms.tags.IsUserAuthorizedTag.checkPermission(IsUserAuthorizedTag.java:66)
com.quest.pms.tags.IsUserAuthorizedTag.doStartTag(IsUserAuthorizedTag.java:43)
org.apache.jsp.WEB_002dINF.jsp.view.projects_jsp._jspx_meth_pms_isUserAuthorized_3(projects_jsp.java:739)
org.apache.jsp.WEB_002dINF.jsp.view.projects_jsp._jspService(projects_jsp.java:363)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.quest.pms.security.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:49)
com.quest.pms.db.hibernate.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:63)
 
Consider Paul's rocket mass heater.
 
subject: hibernate.JDBCException: Could not execute query