Friday, October 10, 2014

The local BEA product registry is corrupted on weblogic silent mode installation

Version:

WLS 12.1.1 installation in Linux 64 bit

Issue:

On invoking the silent mode installation, getting the following mesage:

"The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support"

Command:

java -jar wls1211_generic.jar -mode=silent -silent_xml=./silent.xml -log=wlsinstall.log


Reason:

Check for correct spelling and case in the silent.xml file. If there is any mismatch then you may get this error.

For eg: in my silent.xml file in the COMPONENT_PATHS section I used "WebLogic Server/Configuration Wizard and upgrade Framework" instead of "WebLogic Server/Configuration Wizard and Upgrade Framework".

The only difference was that I used a small case for 'u'pgrade instead of 'U'pgrade.

Also make sure that the entire COMPONENT_PATHS comes in a single line inside the xml file and there is no space between pipe delimiters.

Solution:

Corrected the case in silent.xml. The installation was successful this time.

bash-3.2$ java -jar wls1211_generic.jar -mode=silent -silent_xml=./silent.xml -log=wlsinstall.log
Extracting 0%....................................................................................................100%

Silent.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<bea-installer> 
<input-fields> 
<data-value name="BEAHOME" value="/home/user/Middleware"/> 
<data-value name="WLS_INSTALL_DIR" value="/home/user/Middleware/wlserver_12.1"/> 
<data-value name="OCP_INSTALL_DIR" value="/home/user/Middleware/coherence"/>
<data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic SCA|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/Xquery Support|Oracle Coherence/Coherence Product Files"/> 
<data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes"/>
<data-value name="NODEMGR_PORT" value="5559"/>
<data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="no"/> 
<data-value name="LOCAL_JVMS" value="/home/user/jdk1.7.0_51"/> 
</input-fields>

</bea-installer>