[jboss-jira] [JBoss JIRA] (WFLY-2281) Exception from lifecycle callback interceptor method intercepting a session bean gets suppressed without log message
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Feb 10 10:13:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
RH Bugzilla Integration updated WFLY-2281:
------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1207240, https://bugzilla.redhat.com/show_bug.cgi?id=1253597, https://bugzilla.redhat.com/show_bug.cgi?id=1306329 (was: https://bugzilla.redhat.com/show_bug.cgi?id=1253597, https://bugzilla.redhat.com/show_bug.cgi?id=1207240)
> Exception from lifecycle callback interceptor method intercepting a session bean gets suppressed without log message
> --------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-2281
> URL: https://issues.jboss.org/browse/WFLY-2281
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, EJB
> Affects Versions: 8.0.0.Beta1
> Reporter: Matus Abaffy
> Assignee: Jozef Hartinger
> Fix For: 8.0.0.CR1
>
>
> From EJB spec., "9.3.3 Exceptions from AroundConstruct, PostConstruct and PreDestroy Lifecycle Callbacks", "Table 11" it follows that the container should log the exception or error thrown by a lifecycle callback interceptor method of a session bean or a message-driven bean.
> The thrown throwable gets suppressed. However, I cannot find any sign of it in the server log (using default settings - debug level).
> I'm not a spec. expert, but I think if the exception is not logged, it should at least not get suppressed. I made some tests that might be of help (available at https://github.com/bafco/wildfly/commits/WFLY-2281) - according to the spec., they probably don't have to pass.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list