Created attachment 433131 [details] server log Description of problem: Upgrade JON2.3.1 to JON2.4 with Oracle gives IllegalArgumentException: Unknown name value for enum class org.rhq.core.domain.alert.notification.ResultState: DEFERRED_EMAIL Caused by: javax.ejb.EJBException: java.lang.IllegalArgumentException: Unknown name value for enum class org.rhq.core.domain.alert.notification.ResultState: DEFERRED_EMAIL Version-Release number of selected component (if applicable): version: 2.4.0.GA_QA (build #70) build number: 10856:52c274a How reproducible: Always Steps to Reproduce: 1) Install JON 2.3.1 and agent with Oracle 10g 2) Perform operations on JON 2.3.1 (i) Create alerts: (a) Name: Platform_alert_test [Type: Linux (Platform)] If Condition: Free Memory > 0.1B Dampening Rule: Each time condition set is true Action Filters: Disable alert until re-enabled manually or by recovery alert: false Notify Other Recipients: Eamil - rtimaniy (b)Name: JBOSSAS_JVM_ALERT [Type: JBoss AS JVM (Server)] If Condition: Availability goes DOWN Dampening Rule: Each time condition set is true Action Filters: Disable alert until re-enabled manually or by recovery alert : false Notify Other Recipients: Eamil - rtimaniy (c)Name:RHQ_Agent_JVM_Active_Threads_Alert [Type: RHQ Agent(Server)] If Condition: JVM Active Threads > -1.0 Dampening Rule: Each time condition set is true Action Filters: Disable alert until re-enabled manually or by recovery alert: false Notify Other Recipients: Eamil - rtimaniy Notify Roles (All Resources Role, Super User Role) Notify JON Users (username - rhqadmin) (ii) Create groups (Mix, Compatible, Group defination) (iii)Content repository syncronization (for JBoss Patch) (iv) Create Roles and Users (v) Change INVENTORY -> CONNECTION of JBoss AS4 (vi)Change configuration values of 'RHQ Agent' and create 'History' (vii)Perform LDAP settings (viii)Create 'SCHEDULES' for 'View Process List' on platform (ix) Enabled JBossAS events 5) Stop/Down all JON2.3.1 servers 6) Keep all agents running 7) Upgrade one server from JON2.3.1 to JON 2.4 (build #70) (with same database -Oracle 10g) 8) Provide JON license xml 9) Log-in to JON 2.4 (build #70) 10) Please refer server log Actual results: Upgrade JON2.3.1 to JON2.4 with Oracle gives IllegalArgumentException: Unknown name value for enum class org.rhq.core.domain.alert.notification.ResultState: DEFERRED_EMAIL Expected results: Upgrade JON2.3.1 to JON2.4 should not give error. Additional info: Please refer attached screenshot and server log.
Created attachment 433132 [details] screenshot
commit c487acda658988f3016e2e4ec71ec03261bf50fd Author: Joseph Marques <joseph> Date: Tue Jul 20 09:30:50 2010 -0400 BZ-616400: fix alert notification log custom upgrade task
I /think/ this is fixed now, but I want rajan, et al, to double-check
Verified on JON2.4 (build #71) version: 2.4.0.GA_QA build number: 10860:2ca5643 Upgrade JON2.3.1 to JON2.4 (build #71) without error - IllegalArgumentException: Unknown name value for enum class org.rhq.core.domain.alert.notification.ResultState: DEFERRED_EMAIL
Mass-closure of verified bugs against JON.