Bug 969535 - Failure applying alert template to newly imported resource
Summary: Failure applying alert template to newly imported resource
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.7
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: RHQ 4.8
Assignee: Jay Shaughnessy
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-31 18:04 UTC by Jay Shaughnessy
Modified: 2013-09-11 09:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-11 09:53:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Shaughnessy 2013-05-31 18:04:47 UTC
This is hard to reproduce but I was able to reproduce consistently in a dev installation.  When applying the alert template to the newly imported resource we generated:

  org.hibernate.HibernateException:illegally attempted to associate a proxy with two open Sessions

Which is an issue that can happen when passing an attached Hibernate proxy into a new Tx context.

Comment 1 Jay Shaughnessy 2013-05-31 18:08:05 UTC
master commit 160a6fabeea18fd7410560a8f00206736997adb9
    Fix an issue with alert template application to discovered resources. The
    root cause has to do with sending attached entities across Tx boundaries:

Comment 2 Heiko W. Rupp 2013-09-11 09:53:18 UTC
Bulk closing of old issues now that HRQ 4.9 is in front of the door.

If you think the issue has not been solved, then please open a new bug and mention this one in the description.


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