Problem:
- We are following procedure in implementation guide section "Add Custom Metrics to the Dashboard". We edited the CUSTOM_METRIC_DEFINITION.XML to use some of the examples for testing. After recycling the SOI UI service we are getting error "Unknown error: java.lang.NoClassDefFoundError: javassist/CannotCompileException" in soiuis-debug.log.
Solution:
- The problem happens because of a missing jar file (javassist-3.3.jar) from SOI\SamUI\lib folder. Currently a patch is being created for the issue, in the mean time the following workaround can be used to resolve the problem:
- Stop CA SAM User Interface Service
- Enable a custom metric in the custom_metric_definition.xml file and adjust parameters as needed.
- Copy file SOI\ServiceDiscovery\lib\javassist-3.3.jar from the SOI manager to SOI\SamUI\lib\ on the UI server
- Restart the CA SAM User Interface Service