Bug 1207240 - [LPs/RHEV-M] (6.4.z) Exception from lifecycle callback interceptor method intercepting a session bean gets suppressed
Summary: [LPs/RHEV-M] (6.4.z) Exception from lifecycle callback interceptor method int...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CDI/Weld
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR2
: EAP 6.4.1
Assignee: Jozef Hartinger
QA Contact: Adela
URL:
Whiteboard:
: 1253597 (view as bug list)
Depends On:
Blocks: 1093002 1174126 eap641-payload 1306329
TreeView+ depends on / blocked
 
Reported: 2015-03-30 13:40 UTC by Omer Frenkel
Modified: 2019-07-11 08:52 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1306329 (view as bug list)
Environment:
Last Closed: 2017-01-17 09:57:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2281 0 Major Resolved Exception from lifecycle callback interceptor method intercepting a session bean gets suppressed without log message 2016-02-22 11:30:51 UTC

Description Omer Frenkel 2015-03-30 13:40:09 UTC
Description of problem:
During jboss startup, a @Singleton bean fails to initialize and throws a RuntimeException in the @PostConstruct method in order to stop initialization.

using older jboss (tested on 7.1.1) throwing the exception at this point would stop initialization, and it was visible to the users something is wrong (service was not available)

on newer (tested EAP 6.3.0), this exception would not stop initialization, and jboss would start, appearing as service is available, but it would not function correctly.

i was able to test that this was resolved by
https://issues.jboss.org/browse/WFLY-2281

Version-Release number of selected component (if applicable):
EAP 6.3.0

How reproducible:
always

Steps to Reproduce:
1. throw a RuntimeException during @PostConstruct of @Singleton bean

Actual results:
server continue to load

Expected results:
server fail to load

Comment 3 Jozef Hartinger 2015-03-31 13:02:21 UTC
https://github.com/jbossas/jboss-eap/pull/2373

Comment 5 Ron Šmeral 2015-05-14 16:56:41 UTC
Verified in 6.4.1.CP.CR2.

Comment 6 wfink 2015-08-14 08:34:59 UTC
*** Bug 1253597 has been marked as a duplicate of this bug. ***

Comment 9 Petr Penicka 2017-01-17 09:57:19 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


Note You need to log in before you can comment on or make changes to this bug.