Hi
when i try to update the Database i get an exception ..I try to rollback in the 
stateful session bean and i get the below exception.
whet do i need to write in the descriptor for the transaction to be managed by the 
bean??
javax.ejb.EJBException: EJB Exception: : 
java.lang.IllegalStateException: Illegal attempt to call EJBContext.setRollbackOnly() 
from an EJB that was not participating in a transaction.
        at 
weblogic.ejb20.internal.BaseEJBContext.setRollbackOnly(BaseEJBContext.java:331)
        at 
com.jpf.lifecomp.entityInformation.session.EntityInformationSessionBeanEJB.save(EntityInformationSessionBeanEJB.java:709)
        at 
com.jpf.lifecomp.entityInformation.session.EntityInformationSessionBeanEJB_qo1gg_ELOImpl.save(EntityInformationSessionBeanEJB_qo1gg_ELOImpl.java:844)
        at 
com.jpf.lifecomp.entityInformation.session.EntityInformationSessionFacadeEJB.save(EntityInformationSessionFacadeEJB.java:344)
        at 
com.jpf.lifecomp.entityInformation.session.EntityInformationSessionFacadeEJB_ciapi_EOImpl.save(EntityInformationSessionFacadeEJB_ciapi_EOImpl.java:424)
Regards
Alan


MASTEK
Investing in relationships
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek 
Limited, unless specifically indicated to that effect. Mastek Limited does not accept 
any responsibility or liability for it. This e-mail and attachments (if any) 
transmitted with it are confidential and/or privileged and solely for the use of the 
intended person or entity to which it is addressed. Any review, re-transmission, 
dissemination or other use of or taking of any action in reliance upon this 
information by persons or entities other than the intended recipient is prohibited. 
This e-mail and its attachments have been scanned for the presence of computer 
viruses. It is the responsibility of the recipient to run the virus check on e-mails 
and attachments before opening them. If you have received this e-mail in error, kindly 
delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to