0 Replies Latest reply on Aug 16, 2002 5:00 AM by luqi

    why my cmp method "create" is not run correct

    luqi

      hello all,
      i created a simple cmp bean include find method,and it is deployed correct,
      this cmp connect to this tx dataSource that reght confnfigured in xml description,
      when i use the find method the select the value from ds it runs correct,then use create it does not work

      see the error words :

      Could not create entity:java.sql.SQLException: Unable to get Connection: javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback

      thanks for help :)