JBoss ON Server fails to start after upgrade from update 05 to 08
Environment
- Red Hat JBoss Operations Network (ON) 3.3.5
- Made any change in the
System Configurationpage in JBoss ON UI by following instructions in the Red Hat knowledge solution: It is not possible to save changes in the system settings of the JBoss ON UI - Applied update 08
- Started JBoss ON
Issue
-
Server fails to start after upgrade from update 05 to 08
-
After update 08 from 3.3.5 server fails to start with the message:
ERROR [org.jboss.as.ejb3] (pool-6-thread-1) JBAS014268: Failure in caller transaction.: java.lang.NullPointerException at org.rhq.enterprise.server.system.SystemManagerBean.transformSystemConfigurationPropertyFromDb(SystemManagerBean.java:523) [rhq-server.jar:4.12.0.JON330GA-redhat-8] at org.rhq.enterprise.server.system.SystemManagerBean.fillCache(SystemManagerBean.java:956) [rhq-server.jar:4.12.0.JON330GA-redhat-8] at org.rhq.enterprise.server.system.SystemManagerBean.loadSystemConfigurationCache(SystemManagerBean.java:482) [rhq-server.jar:4.12.0.JON330GA-redhat-8] at org.rhq.enterprise.server.system.SystemManagerBean.getCachedObfuscatedSettings(SystemManagerBean.java:927) [rhq-server.jar:4.12.0.JON330GA-redhat-8] at org.rhq.enterprise.server.system.SystemManagerBean.getObfuscatedSystemSettings(SystemManagerBean.java:252) [rhq-server.jar:4.12.0.JON330GA-redhat-8] ...
Resolution
This issue is resolved in JBoss ON 3.3 Update-09 (3.3.9) and later.
Root Cause
When JBoss ON 3.3 Update-05 (3.3.5) was released, two new configuration properties, PARTITION_EVENT_PURGE and RESOURCE_CONFIG_HISTORY_PURGE, were added to the System Configuration page in JBoss ON by mistake. These invalid configuration properties prevented other changes in the system configuration page from being saved. The issue was resolved with the steps given in Red Hat Knowledge Solution 2165051: It is not possible to save changes in the system settings of JBoss ON UI. However, because the invalid properties were still in the JBoss ON back-end database, the removal of them from the UI in JBoss ON 3.3 Update-08 (3.3.8) resulted in an unknown system property value being loaded form the database and causing a NullPointerException on startup.
For more details, please see This content is not included.Red Hat Bugzilla 1446072: JBoss ON Server fails to start after upgrade from update 05 to 08 due to deprecated system config fields: PARTITION_EVENT_PURGE and RESOURCE_CONFIG_HISTORY_PURGE.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.