As Juan said, If you are using Jboss, it would be better and simple to use Jboss TM.
If you are having this error and using tomcat, make sure btm-2.1.1.jar and jta-*.jar aren't anywhere in your war files as Tomcat tries to load classes from the webapp before the tomcat and system classpaths.
HTH
Demian