Change custom jar numbering in classpath.conf

If you had a custom configuration for the classpath.conf file in a version prior to IXIA CCMS 6.2, you might need to update the values used for numbering the custom jar files.

Prior to IXIA CCMS 6.2, the template file classpath.conf.orig in the %OutputGenDir%/conf/client/ directory suggests using 100 to start numbering your custom jars to be added to IXIA CCMS Output Generator's classpath.

However, in IXIA CCMS 6.2 there are more jar files in the standard classpath.conf file in %OutputGenDir%/conf/. Now the jars defined in %OutputGenDir%/conf/client/classpath.conf conflict with the jars defined in %OutputGenDir%/conf/classpath.conf causing CCMS Output Generator to have an error:

INFO | 2020/07/06 14:12:41 | WrapperSimpleApp Error: Encountered an error running main:
		INFO | 2020/07/06 14:12:41 | WrapperSimpleApp Error: Encountered an error running main:
		INFO | 2020/07/06 14:12:41 | WrapperSimpleApp Error: java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger
		INFO | 2020/07/06 14:12:41 | WrapperSimpleApp Error: at java.lang.ClassLoader.defineClass1(Native Method)
		INFO | 2020/07/06 14:12:41 | WrapperSimpleApp Error: at java.lang.ClassLoader.defineClass(ClassLoader.java:756)

To avoid conflicts, you must start the %OutputGenDir%/conf/client/classpath.conf counter with a higher number, such as 200.

To start the counting at a higher number:

  1. Open the %OutputGenDir%/conf/client/classpath.conf file.
    Important: Do not update the classpath.conf file that is in the %OutputGenDir%/conf/ directory. Always update the file in the OutputGenDir%/conf/client directory. This separation ensures that your customization does not get overwritten when you update the IXIA CCMS Output Generator.
  2. Find the current wrapper.java.classpath:
    wrapper.java.classpath.100=../libs/client/com.ixiasoft.outputgenerator.extensions.images.ant_1.0.0.jar
    wrapper.java.classpath.101=../libs/client/com.ixiasoft.outputgenerator.utils.DeltaXMLComparator2.jar
  3. Change 100 to 200 or higher:
    For example:
    wrapper.java.classpath.200=../libs/client/com.ixiasoft.outputgenerator.extensions.images.ant_1.0.0.jar
    wrapper.java.classpath.201=../libs/client/com.ixiasoft.outputgenerator.utils.DeltaXMLComparator2.jar
  4. Save and close classpath.conf.
  5. Restart the IXIA CCMS Output Generator service to apply your changes.