Environment
ZENworks Configuration Management 2020
Situation
After some issue with disk, administrators unable to login to ZCC. All services return 500 error. Catalina.log shows this:
javax.management.InstanceAlreadyExistsException: com.novell.zenworks.diagnostics.mbeans:type=ZENRequestValveInfo,classification=zenworks-location.getLocations
javax.management.InstanceAlreadyExistsException: com.novell.zenworks.diagnostics.mbeans:type=ZENRequestValveInfo,classification=zenworks-content.bytes
etc
SEVERE: Error processing request
java.lang.ArrayIndexOutOfBoundsException: 2
at com.novell.zenworks.tomcat.RequestHistoryEntry.deserialize(RequestHistoryEntry.java:108)
at com.novell.zenworks.tomcat.ZENRequestValve.deserializeTuningData(ZENRequestValve.java:2407)
at com.novell.zenworks.tomcat.ZENRequestValve.deserializeTuningData(ZENRequestValve.java:2383)
Resolution
In the case only where the catalina.out (or for Windows, java debug log) showed the errors from Situation, the solution was to stop the novell-zenserver service, rename /opt/novell/zenworks/share/tomcat/work/ZenServerTuningData and restart the service.
Cause
corrupt ZenServerTuningData file. renaming and restarting service re-created it.