Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1224325

Summary: Failure to send mail to Roles in JON 33
Product: [JBoss] JBoss Operations Network Reporter: bkramer <bkramer>
Component: Monitoring - AlertsAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED DUPLICATE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.3.2CC: fbrychta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-28 14:14:04 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: 1188635    
Bug Blocks:    

Description bkramer 2015-05-22 14:26:51 UTC
This is clone of RHQ Bugzilla 1188635 (https://bugzilla.redhat.com/show_bug.cgi?id=1188635):

Version

JBoss ON 3.3.2

*********************************************************************************************

Nyiri Márk 2015-02-03 08:07:46 EST
Description of problem:

Server can not send e-mail Alert for System Rules.

13:17:13,153 ERROR [org.rhq.enterprise.server.alert.AlertManagerBean] (Thread-40 (HornetQ-client-global-threads-1882874393)) Notification processing terminated abruptlyfailed to lazily initialize a collection of role: org.rhq.core.domain.authz.Role.subjects, could not in
itialize proxy - no Session





How reproducible:

I created a System Roles like name "IT-MIDDLEWARE" and some users member of this rule.

In Alert Definition Template RHQ, created Alert, with any condition Like "Goes Up" and notification  is System Roles:"IT-MIDDLEWARE"


Actual results:

When alert is fired, this see in server.log and not sending e-mail.

13:12:27,330 INFO [org.rhq.enterprise.server.core.AgentManagerBean] (EJB default - 8) Agent with name [aikjapp4.uat.cib.hu] just went down

13:12:34,434 ERROR [org.rhq.enterprise.server.alert.AlertManagerBean] 
(Thread-25 (HornetQ-client-global-threads-1882874393)) Notification processing terminated abruptlyfailed to lazily initialize a collectio
n of role: org.rhq.core.domain.authz.Role.subjects, could not initialize proxy - no Session




Expected results:


Additional info:
If i create System User notification for this alert then it is working, user get the email.

Comment 1 Filip Brychta 2015-05-28 14:14:04 UTC

*** This bug has been marked as a duplicate of bug 1221288 ***