Thank you for the reply. 

Rollback cannot be still done though '@ApplicationException(rollback=true)' was 
added to SessionBean. 
Is this a cause though the method of the business is in servlet?

Stateless Session Bean Class: 

  | @Stateless
  | @Local(TestSession.class)
  | @Remote(TestSession.class)
  | @ApplicationException(rollback=true)
  | 
  | public class TestSessionBean  implements TestSession{
  |     @PersistenceContext
  |     protected  EntityManager em;
  |     
  |     @TransactionAttribute(TransactionAttributeType.REQUIRED)
  |     public void insertTestUser(TestUserBean usrs){
  |             em.persist(usrs);
  |             
  |             /* When the exception is compulsorily caused here, the roll 
backing is done. */
  |             //throw new RuntimeException("!! RuntimeException !?");
  |     }
  | }
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950122#3950122

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950122


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to