EJB working, transactions were the error.