Tech Tip: Adding a custom metric to the dashboard fails

Document created by Shaheen_Ahmed Employee on Oct 22, 2014Last modified by Melissa Potvin on Oct 29, 2014
Version 2Show Document
  • View in full screen mode

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

1 person found this helpful

Attachments

    Outcomes