facebook

GenericJDBCException

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #269271 Reply

    ramrom
    Member

    hello,

    my problem it is the genericJdbcException ,in fact after a number
    of transaction I find this exception.

    I use use hibernate3.2, myeclipse 5, JSF, ICEfaces.

    my traces:

    exception

    org.apache.jasper.JasperException: org.hibernate.exception.GenericJDBCException: could not execute query
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    cause mère

    javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: could not execute query
    com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:437)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
    org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
    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:332)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    cause mère

    javax.faces.FacesException: org.hibernate.exception.GenericJDBCException: could not execute query
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:83)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:393)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
    org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
    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:332)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    #269302 Reply

    Loyal Water
    Member

    Can you please post the *entire* stack trace for me.

    #269525 Reply

    ramrom
    Member

    thank you for your response

    this is my trace

    org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: Can’t instantiate class: ‘com.gl.pfe.hibernate.backend.DataFetch’.. class com.gl.pfe.hibernate.backend.DataFetch : org.hibernate.exception.GenericJDBCException: could not execute query
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    cause mère

    javax.servlet.ServletException: javax.faces.FacesException: javax.faces.FacesException: Can’t instantiate class: ‘com.gl.pfe.hibernate.backend.DataFetch’.. class com.gl.pfe.hibernate.backend.DataFetch : org.hibernate.exception.GenericJDBCException: could not execute query
    com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:437)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
    org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
    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:332)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    cause mère

    javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can’t instantiate class: ‘com.gl.pfe.hibernate.backend.DataFetch’.. class com.gl.pfe.hibernate.backend.DataFetch : org.hibernate.exception.GenericJDBCException: could not execute query
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    javax.faces.component.UIData.getValue(UIData.java:527)
    com.icesoft.faces.component.panelseries.UISeries.getDataModel(UISeries.java:304)
    com.icesoft.faces.component.panelseries.UISeries.processCurrentRowData(UISeries.java:132)
    com.icesoft.faces.component.panelseries.UISeries.setRowIndex(UISeries.java:124)
    com.icesoft.faces.component.ext.renderkit.TableRenderer.renderFacet(TableRenderer.java:132)
    com.icesoft.faces.renderkit.dom_html_basic.TableRenderer.encodeBegin(TableRenderer.java:101)
    javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:675)
    javax.faces.component.UIData.encodeBegin(UIData.java:681)
    com.icesoft.faces.component.panelseries.UISeries.encodeBegin(UISeries.java:245)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:339)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:347)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:347)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:347)
    com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:97)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:341)
    com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:197)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:341)
    com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:197)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:341)
    com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:97)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
    com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:338)
    com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.writeTabCell(PanelTabSetRenderer.java:920)
    com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.encodeEnd(PanelTabSetRenderer.java:406)
    javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:351)
    com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:197)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:341)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:347)
    com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:347)
    com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:97)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
    com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:338)
    com.icesoft.faces.component.panelstack.PanelStackRenderer.encodeChildren(PanelStackRenderer.java:107)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
    com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:338)
    com.icesoft.faces.component.util.CustomComponentUtils.renderChildren(CustomComponentUtils.java:324)
    com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:340)
    com.icesoft.faces.component.panelborder.PanelBorderRenderer.renderTableCell(PanelBorderRenderer.java:314)
    com.icesoft.faces.component.panelborder.PanelBorderRenderer.renderTableCells(PanelBorderRenderer.java:267)
    com.icesoft.faces.component.panelborder.PanelBorderRenderer.renderCenter(PanelBorderRenderer.java:173)
    com.icesoft.faces.component.panelborder.PanelBorderRenderer.renderEastWestCenter(PanelBorderRenderer.java:152)
    com.icesoft.faces.component.panelborder.PanelBorderRenderer.renderPanel(PanelBorderRenderer.java:129)
    com.icesoft.faces.component.panelborder.PanelBorderRenderer.encodeEnd(PanelBorderRenderer.java:105)
    javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
    com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:539)
    com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:535)
    com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:535)
    com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:535)
    com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:521)
    com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:394)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
    org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
    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:332)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: GenericJDBCException

You must be logged in to post in the forum log in