com.bea.dao.DAOException: <4|false|4.0.1> kodo.persistence.InvalidStateException: Can only perform operation while a transaction is active.

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Kodo JPA: can not cascade delete

    Oracle Community | 1 decade ago | 666705
    com.bea.dao.DAOException: <4|false|4.0.1> kodo.persistence.InvalidStateException: Can only perform operation while a transaction is active.

    Root Cause Analysis

    1. com.bea.dao.DAOException

      <4|false|4.0.1> kodo.persistence.InvalidStateException: Can only perform operation while a transaction is active.

      at com.bea.dao.CustomerDAO_Kodo.delCustomer()
    2. com.bea.dao
      CustomerDAO_Kodo.delCustomer
      1. com.bea.dao.CustomerDAO_Kodo.delCustomer(CustomerDAO_Kodo.java:81)
      1 frame
    3. org.apache.jsp
      myAddCust_jsp._jspService
      1. org.apache.jsp.myAddCust_jsp._jspService(myAddCust_jsp.java:84)
      1 frame
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    6. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    9. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    10. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame