java.sql.SQLException: calling rollback() is not allowed on a container-managed transactions Connection

Oracle Community | 118550 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Dynamic News Error

    Oracle Community | 1 decade ago | 118550
    java.sql.SQLException: calling rollback() is not allowed on a container-managed transactions Connection

    Root Cause Analysis

    1. java.sql.SQLException

      calling rollback() is not allowed on a container-managed transactions Connection

      at com.evermind.sql.OrionCMTConnection.rollback()
    2. com.evermind.sql
      FilterConnection.rollback
      1. com.evermind.sql.OrionCMTConnection.rollback(OrionCMTConnection.java:422)
      2. com.evermind.sql.FilterConnection.rollback(FilterConnection.java:196)
      2 frames
    3. com.evermind.server
      DataSourceConnection.close
      1. com.evermind.server.ejb.DataSourceConnection.close(DataSourceConnection.java:155)
      1 frame
    4. Unknown
      UsersLocal_CategoriesLocal_ORCollection27.getObjects
      1. UsersLocal_CategoriesLocal_ORCollection27.getObjects(UsersLocal_CategoriesLocal_ORCollection27.java:126)
      1 frame
    5. com.evermind.server
      ORCollection.iterator
      1. com.evermind.server.ejb.ORCollection.iterator(ORCollection.java:74)
      1 frame
    6. oracle.otnsamples.xmlnews
      UsersBean.getCategoryList
      1. oracle.otnsamples.xmlnews.business.UsersBean.getCategoryList(Unknown Source)
      1 frame
    7. Unknown
      UsersLocal_EntityBeanWrapper16.getCategoryList
      1. UsersLocal_EntityBeanWrapper16.getCategoryList(UsersLocal_EntityBeanWrapper16.java:2148)
      1 frame
    8. oracle.otnsamples.xmlnews
      UserServiceBean.getUserProfile
      1. oracle.otnsamples.xmlnews.services.UserServiceBean.getUserProfile(Unknown Source)
      1 frame
    9. Unknown
      UserService_StatelessSessionBeanWrapper4.getUserProfile
      1. UserService_StatelessSessionBeanWrapper4.getUserProfile(UserService_StatelessSessionBeanWrapper4.java:1157)
      1 frame