@Bean
@Primary
public JtaTransactionManager jtaTransactionManager() throws SystemException {
UserTransactionImp userTransactionImp = new UserTransactionImp();
userTransactionImp.setTransactionTimeout(60);
JtaTransactionManager jta = new JtaTransactionManager();
jta.setUserTransaction(userTransactionImp);
jta.setDefaultTimeout(60);
return jta;
}