search cancel

UCM Data Transformer Service doesn't start

book

Article ID: 145491

calendar_today

Updated On:

Products

CA Unified Communications Monitor (NetQoS / UCM)

Issue/Introduction

UCM Data Transformer Service doesn't start. The following is observed in the "Data TransformerService.log" file:

STATUS | wrapper  | 2020/02/19 20:37:54 | Launching a JVM...
INFO   | jvm 1    | 2020/02/19 20:37:55 | WrapperManager: Initializing...
INFO   | jvm 1    | 2020/02/19 20:37:55 | WrapperSimpleApp Error: Class com.ca.im.ucm.transformer.Transformer found but could not be initialized: java.lang.UnsupportedClassVersionError: com/ca/im/ucm/transformer/Transformer : Unsupported major.minor version 52.0
ERROR  | wrapper  | 2020/02/19 20:37:57 | JVM exited while loading the application.
STATUS | wrapper  | 2020/02/19 20:38:02 | Launching a JVM...
INFO   | jvm 2    | 2020/02/19 20:38:02 | WrapperManager: Initializing...
INFO   | jvm 2    | 2020/02/19 20:38:02 | WrapperSimpleApp Error: Class com.ca.im.ucm.transformer.Transformer found but could not be initialized: java.lang.UnsupportedClassVersionError: com/ca/im/ucm/transformer/Transformer : Unsupported major.minor version 52.0
ERROR  | wrapper  | 2020/02/19 20:38:04 | JVM exited while loading the application.
STATUS | wrapper  | 2020/02/19 20:38:09 | Launching a JVM...
INFO   | jvm 3    | 2020/02/19 20:38:09 | WrapperManager: Initializing...
INFO   | jvm 3    | 2020/02/19 20:38:09 | WrapperSimpleApp Error: Class com.ca.im.ucm.transformer.Transformer found but could not be initialized: java.lang.UnsupportedClassVersionError: com/ca/im/ucm/transformer/Transformer : Unsupported major.minor version 52.0
ERROR  | wrapper  | 2020/02/19 20:38:11 | JVM exited while loading the application.
STATUS | wrapper  | 2020/02/19 20:38:16 | Launching a JVM...
INFO   | jvm 4    | 2020/02/19 20:38:16 | WrapperManager: Initializing...
INFO   | jvm 4    | 2020/02/19 20:38:16 | WrapperSimpleApp Error: Class com.ca.im.ucm.transformer.Transformer found but could not be initialized: java.lang.UnsupportedClassVersionError: com/ca/im/ucm/transformer/Transformer : Unsupported major.minor version 52.0
ERROR  | wrapper  | 2020/02/19 20:38:18 | JVM exited while loading the application.
STATUS | wrapper  | 2020/02/19 20:38:23 | Launching a JVM...
INFO   | jvm 5    | 2020/02/19 20:38:23 | WrapperManager: Initializing...
INFO   | jvm 5    | 2020/02/19 20:38:23 | WrapperSimpleApp Error: Class com.ca.im.ucm.transformer.Transformer found but could not be initialized: java.lang.UnsupportedClassVersionError: com/ca/im/ucm/transformer/Transformer : Unsupported major.minor version 52.0
ERROR  | wrapper  | 2020/02/19 20:38:25 | JVM exited while loading the application.
FATAL  | wrapper  | 2020/02/19 20:38:26 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2020/02/19 20:38:26 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2020/02/19 20:38:26 | <-- Wrapper Stopped

Environment

Release : 4.3.3

Component : NQUCM - UNIFIED COMMUICATION MONITOR

Cause

Unsupported major.minor version 52.0 comes when you are trying to run a class compiled using Java 1.8 compiler into a lower JRE version e.g. JRE 1.7 or JRE 1.6.

This can happen if the correct JRE isn't in the path properly.  

Resolution

The path can be updated to include \CA\JRE8\bin\java or you can force the wrapper to use the correct path.

The Data Transformer service has a file called DataTransformerService.conf located in the \CA\VoIPMonitor\DataTransformer\service by default.  This file will have an entry something like this:
#******************************************************************** 
# Wrapper Java Properties 
#******************************************************************** 
# Java Application 
wrapper.java.command=java 
 
You can change this to force the correct path:
wrapper.java.command=D:\CA\JRE8\bin\java 

After adding the path and saving the file, you should be able to start the services correctly.