Transaction Error in Jboss 5.1

I wanted to deploy a web project on Jboss 5.1, which was deployed in Jboss 4.0 successfully. I could deploy the project in Jboss 5.1 properly but it gives following user transaction error whilst executing.

12:06:47,640 ERROR [STDERR] java.lang.ClassCastException:
ient.ServerVMClientUserTransaction cannot be cast to javax.transaction.UserTrans

Continue reading