Thursday, June 19, 2014

Silent installation of Weblogic Server 11g

Following steps can be used to do a silent installation of Oracle Weblogic Server 11g(10.3.6).

Create the below sample xml file based on the products that you want to install from the media.
To see the list of all tags check this oracle document, http://docs.oracle.com/cd/E23943_01/doc.1111/e14142/silent.htm#i1044116

# vi weblogic_install.xml
  
<?xml version="1.0" encoding="UTF-8"?>
<!-- Silent installer option: -mode=silent -silent_xml=/PATH/silent.xml -->
<bea-installer>
  <input-fields>
  <data-value name="BEAHOME" value="/u02/oracle/mw" />
  <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 JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|Oracle Cohernce/Coherence Product Files" />
  <data-value name="USE_EXTERNAL_ECLIPSE" value="false" />
  <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="no" />
  <data-value name="NODEMGR_PORT" value="5559" />
  <data-value name="LOCAL_JVMS" value="/u02/oracle/jdk1.7.0_25" />
<input-fields>
</bea-installer>


# java -Xmx1024m -jar ../weblogic64/wls1036_generic.jar -mode=silent -silent_xml=weblogic_install.xml
Extracting 0%..................................................................100%

For any queries or comments please drop an email at samiora@gmail.com