Bug 1207240

Summary: [LPs/RHEV-M] (6.4.z) Exception from lifecycle callback interceptor method intercepting a session bean gets suppressed
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Omer Frenkel <ofrenkel>
Component: CDI/WeldAssignee: Jozef Hartinger <jharting>
Status: CLOSED CURRENTRELEASE QA Contact: Adela <amelicha>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbaranow, eedri, jharting, maschmid, michal.skrivanek, pmuir, rsvoboda, vtunka, wfink
Target Milestone: CR2   
Target Release: EAP 6.4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1306329 (view as bug list) Environment:
Last Closed: 2017-01-17 09:57:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1093002, 1174126, 1207953, 1306329    

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.