Bug 1207746 - JON Server can not send e-mail Alert for System Rules.
Summary: JON Server can not send e-mail Alert for System Rules.
Keywords:
Status: CLOSED DUPLICATE of bug 1221288
Alias: None
Product: RHQ Project
Classification: Other
Component: Alerts
Version: JON 3.1.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-31 15:38 UTC by Prachi
Modified: 2019-05-20 11:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-09 13:13:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1188635 0 unspecified NEW Failure to send mail to Roles in 4.13.1 2022-03-31 04:28:47 UTC

Description Prachi 2015-03-31 15:38:55 UTC
Description of problem:  JON Server can not send e-mail Alert for System Rules.


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

JON 3.3

How reproducible:


Steps to Reproduce:
1.  Create user "testuser".

2.  Create a System Roles like name "Web Admin" and assign "testuser" to this role.

3. In Alert Definition create Alert, with condition Like "Goes Down" and notification is System Roles:"Web Admin"

Actual results:


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

  **** I am not getting any ERROR in logs but user is not getting any email

  **** However Customer is getting below ERROR and also not getting any email:

###################################
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 collection of role: org.rhq.core.domain.authz.Role.subjects, could not initialize proxy - no Session

###################################


Expected results:

The email should be sent to all the users in that role, but it is not working.


Additional info:

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

Comment 1 bkramer 2017-06-09 13:13:49 UTC

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


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