2 Replies Latest reply on Oct 13, 2013 9:29 AM by heng li

    how to use jboss7 xa-datasource

    heng li Newbie

      I  get a dataSource by using jboss jndi  ,but I want to get a XaResouce to operate  transaction.

      when I cast the class,a error occur:

      20:17:26,477 ERROR [stderr] (http--127.0.0.1-8080-1) java.lang.ClassCastException: org.jboss.jca.adapters.jdbc.xa.XAManagedConnection cannot be cast to org.jboss.jca.adapters.jdbc.xa.XAManagedConnection.