Sunday, April 12, 2015

Weblogic 10.3.6 Silent Install

In this post, I will talk about weblogic silent install using a response file and console mode.

By default if UI is not available then weblogic installer will switch to command line mode and you can provide the inputs interactively else you can provide the reponse file as below for completely silent install.

java -jar wls_generic10.3.6.jar -Djava.io.tmpDir=/path/to/custom/tmp/dir -mode=silent -silent_xml=path_to_silent.xml


-------------------------------SILENT.XML--------------------------------------------------------
<bea-installer>
<input-fields>
<data-value name="BEAHOME" value="/u01/Oracle/Middleware"/>
<data-value name="USER_INSTALL_DIR" value="/u01/Oracle/Middleware/wlserver_10.3"/>
<data-value name="WLS_INSTALL_DIR" value="/u01/Oracle/Middleware/wlserver_10.3"/>
<data-value name="COMPONENT_PATHS" value="WebLogic Server|Oracle Coherence"/>
<data-value name="JAVA_HOME" value="/u01/Oracle/jdk1.6_45"/>
<data-value name="WLS_JAVA_HOME" value="/u01/Oracle/jdk1.6_45"/>
</input-fields>
</bea-installer>

-------------------------------SILENT.XML--------------------------------------------------------