Ok but what do you mean by "manually start the JTA transaction"?
I tried the following code but I have the same error :
UserTransaction tx = null;
Session session = null;
session = HibernateSessionFactory.getSessionFactory().openSession();
tx = (UserTransaction)new InitialContext().lookup("java:comp/UserTransaction");
tx.begin();
session.save(data);
tx.commit();
[Message sent by forum member 'will_mad' (will_mad)]
http://forums.java.net/jive/thread.jspa?messageID=234658