RMS Bad Magic Exception
Technical Support Guide
Brand:
- AMX
Models:
- Resource Management Suite (RMS)
Overview:
RMS Activemq Bad Magic Exception
Symptom
RMS webpage fails to load, Tomcat displays a 404 error.
Log file for RMS in C:\ProgramData\AMX\Resource Management Suite\Server\Logs contains 'org.apache.activemq.kaha.impl.index.BadMagicException'
Cause
Corruption in Activemq-data directory, typically triggered by HDD which is full.
Resolution
- Remove old Tomcat log files which are no longer required from C:\Program Files\Apache Software Foundation\Tomcat <version number>\logs to free disk space
- Stop Tomcat service
- Navigate to C:\ProgramData\AMX\Resource Management Suite\Server\data
- Delete activemq-data
- Restart Tomcat service
The activemq-data directory should be re-created, and access to RMS should be restored.