[
https://issues.jboss.org/browse/EJBTHREE-2236?page=com.atlassian.jira.plu...
]
jaikiran pai commented on EJBTHREE-2236:
----------------------------------------
> Please correct if I'm wrong, but this fix seems to solve only
NPE problem, but in above example I will still get EJBTransactionRequiredException,
That's correct.
> although my lifecycle method destroy() is marked with transaction
attribute REQUIRES_NEW, as pointed out in EJB3.1 spec, section 4.8.3
I thought you had filed a separate bug for that one. I might be wrong though. I'll
create a separate JIRA to track that issue, since I thought that this JIRA was for fixing
the NPE (I'll update the title of this JIRA accordingly).
Singleton bean fails to call @PreDestroy method
-----------------------------------------------
Key: EJBTHREE-2236
URL:
https://issues.jboss.org/browse/EJBTHREE-2236
Project: EJB 3.0
Issue Type: Bug
Components: transactions
Environment: Apple Mac OS X, JBossAS 6.0.0.Final
Reporter: Vidas .
Assignee: jaikiran pai
Fix For: depchain-1.0.0-alpha-44
JBoss fails to call @PreDestroy lifecycle method, annotated with transaction attribute
REQUIRES_NEW, while @Singleton bean is annotated with transaction attribute MANDATORY.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira