When try to create a new ifs home using installer.cmd located inside IFSHOME or create a new instance using installer.cmd located BUILDHOME/build_home/installer/os/windows, we got a below error
Error :
Error in Ant-script: server\install_fndmws.xml
Reported error is: The following error occurred while executing this line:
C:\ACS2_DEV2APP10\build_home\server\install_fndmws.xml:214: Failed to install Middelware Server! Error is: Exception when installing IFS Middleware Home: C:\IFS_ACS2_DEV2APP10\tmp\as\resources1188118356681766909\install_fndmws.xml:480: Failed to install Middleware Server. Error is:
--------------------------------------------------
Installation failed, process stopped, check the logfile.
It was resolved by below steps
- Delete every services including Solr service for the instance - using cmd command
- Using command "sc delete ServiceName"
- Rename the existing IFS HOME
- Remove the entry (DEVor BNT) in inventory.xml located C:\Program Files\Oracle\Inventory\ContentsXML
- Then try to create instance from build home
Here I found that the main step is to remove the relevant entry in inventory.xml located in C:\Program Files\Oracle\Inventory\ContentsXML.