Re: weblogic.transaction.internal.AppSetRollbackOnlyException
"Galang, George" <[email protected]> Tue, 19 Oct 2004 16:28:27 -0400
| Newsgroups | gmane.comp.java.sun.ejb.general |
|---|---|
| Message-ID | <3165F742BA5A8E4194D3E014C17FB2101B933873@s30342g004006.wdc.cingular.net> |
The question is if the call actually requires a transaction. If it doesn't, set it to NotSupported or one of the ones that indicates a Transaction isn't required. If it is, then the calling process has to be inside of a transaction (ie: I believe must have a Transaction Manager to handle transaction type calls). -----Original Message----- From: Sreekanth Gopinathan [mailto:[email protected]] Sent: Tuesday, October 19, 2004 4:13 PM To: [email protected] Subject: Re: weblogic.transaction.internal.AppSetRollbackOnlyException Hi George, This is the entry I have made in the ejb-jar.xml <container-transaction > <method > <ejb-name>ProcessDefinitionDirectory</ejb-name> <method-name>*</method-name> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> Do you think changing the trans attribute to Required will help . Actually I tried with the 2 options for the transaction-attribute, Supports and RequiresNew. Awaiting your suggestions. Regards, Sreekanth =========================================================================== 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". =========================================================================== 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".