VoyenceControl: Error Detected during migration - ERROR: java.lang.NoClassDefFoundError: org/apache/log4j/Priority
search cancel

VoyenceControl: Error Detected during migration - ERROR: java.lang.NoClassDefFoundError: org/apache/log4j/Priority

book

Article ID: 303525

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Migration fails
Error Detected during migration
 

ERROR:

java.lang.NoClassDefFoundError: org/apache/log4j/Priority

 

ERROR:

Mon Oct  6 14:29:12 2008 - ERROR: psql returned an error.
Mon Oct  6 14:29:12 2008 - select migration.generateOID();
Mon Oct  6 14:29:12 2008 - ERROR:  java.lang.NoClassDefFoundError: org/apache/log4j/Priority
Mon Oct  6 14:29:12 2008 - ERROR: Migration failed.  Output saved in /home/powerup/logs/migration.log
===============================================================================
Error Detected
-------------------------------------------------------------------------------
An error has occurred.  Please select the course of action you would like
to take:

  1) Rollback to last good state and exit
  2) Rerun the previous migration step

[1-2]:



Environment

VMware Smart Assurance - NCM

Cause

The hostname value for the server is not correct, and cannot be resolved.  It differs from the hostname specified in /etc/hosts.

Resolution

Update the hostname to the correct value and choose option 2 to Rerun the previous migration step.