Solution :I increased the JTA default timeout from 30s to 120s and I stopped getting that error.You can goto the weblogic console (http://localhost:7001/console) and once you login goto ->services->JTA. Hope this helps.