Thursday, June 03, 2010

WebLogic silent install

It seems that I'm all into silent installs these days.
Trying to do a WebLogic installation in silent mode. Went to the documentation, as a few things have changed since the early BEA days.

So I found the sample file for the silent.xml .

Without big thinking I copied the sample like this:


<bea-installer>
<input-fields>
<data-value value="D:\Oracle\Middleware_Home" name="BEAHOME">
<data-value value="D:\Oracle\Middleware_Home\wlserver_10.3" name="WLS_INSTALL_DIR">
<data-value value="WebLogic Server/Core Application ServerWebLogic Server /Administration ConsoleWebLogic Server/Configuration Wizard and Upgrade FrameworkWebLogic Server/Web 2.0 HTTP Pub-Sub ServerWebLogic Server/WebLogic JDBC DriversWebLogic Server/Third Party JDBC DriversWebLogic Server /WebLogic Server ClientsWebLogic Server/WebLogic Web Server Plugins WebLogic Server/UDDI and Xquery SupportWebLogic Server/Server ExamplesOracle Coherence/Coherence Product Files" name="COMPONENT_PATHS">
<data-value value="yes" name="INSTALL_NODE_MANAGER_SERVICE">
<data-value value="5559" name="NODEMGR_PORT">
<data-value value="yes" name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER">


</INPUT-FIELDS>
</BEA-INSTALLER>

only to find out that the installation terminated with the message:
The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support


As so often the solution was quite easy. The list of components ended up on different lines. This resulted in an incomplete description of components to install. So, just make sure that the list of components is on one line and the silent installation works like a charm.

1 comment:

seanb said...

Thanks for this, Andreas, you saved me some hair pulling tonight.