Monday, 14 February 2011

WebLogic silent.xml for Centos / RHEL 5.5 Production

Oracle do provide a sample, and there are links on the Web but after much frustration, this one actually works.

<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
<input-fields>
<data-value name="BEAHOME" value="/opt/Middleware" />
<data-value name="WLS_INSTALL_DIR" value="/opt/Middleware/wlserver_10.3" />
<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" />
</input-fields>
</bea-installer>
view raw silent.xml hosted with ❤ by GitHub


Assuming the bin file has been downloaded from Oracle, then:

  • Create the Middleware directory beforehand.
  • Specify -mode=silent -silent_xml=/full/path/to/silent.xml on the command line.
  • This will install everything required,  but not the Server examples domain, which is dangerous on a production server.