Friday, December 2, 2016

Error when trying to remove MDEXHost definition from a host that doesn't exist

Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 5.1.0 and later
Information in this document applies to any platform.

Symptoms
When trying to manually delete an MDEXHost definition from an Endeca application for an MDEX host that no longer exists, the following error is received and the MDEXHost definition can't be deleted:
An error occurred while trying to remove component 'Dgraph1':
Errors:Encountered a problem checking for running components on host
'MDEXHost1' with hostname/port '192.168.70.137:8888': Error connecting to http://192.168.70.137:8888/eac-agent/IDelegateServer: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't send message.

CAUSE

The EAC Central Server still contains the MDEXHost definition for the retired host in it's job definition database, but cannot reach the EAC Agent defined in the job to delete it, so the delete fails.
SOLUTION


You can force removal of the job definition using the eaccmd utility's --force flag, such as the following example:

eaccmd.bat remove-host --force --app [app] --host MDEXHostX
eaccmd.bat remove-component --force --app [app] --comp DgraphX



Source - oracle hot topics

No comments:

Post a Comment