Skip to content

Instantly share code, notes, and snippets.

@tant4lus
Last active January 3, 2016 22:19
Show Gist options
  • Save tant4lus/8527241 to your computer and use it in GitHub Desktop.
Save tant4lus/8527241 to your computer and use it in GitHub Desktop.
My standard file for a Oracle (BEA) Weblogic 10.3.6 Silent Install XML. Includes Oracle Coherence but without Oracle SCA
<?xml version="1.0" encoding="UTF-8"?>
<!-- File: standard_wls.xml -->
<!-- Example execute command: ./wls1036_linux32.bin -mode=silent -silent_xml=standard_wls.xml -log=install.log -Djava.io.tmpdir=/tmp -->
<!-- Specify values for each data-value name as follows:
BEAHOME Complete pathname to the Middleware Home directory that
will contain this installation.
WLS_INSTALL_DIR Complete pathname to the product installation
directory in which to install WebLogic Server.
COMPONENT_PATHS Components and subcomponents to be installed.
To install multiple components, separate the components
with a bar (|).
To install subcomponents, specify a
component/subcomponent combination. For example,
to install Core Application Server, use
"WebLogic Server/Core Application Server".
INSTALL_NODE_MANAGER_SERVICE Install Node Manager as a Windows
service. The default is "no".
Requires Administrator privileges.
NODEMGR_PORT Node Manager listen port number. If none specified,
installer uses default port 5556.
INSTALL_NODE_MANAGER_SERVICE must be set to "yes".
INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER
The Windows Start menu folder in which you want the
Start menu shortcuts created.
The user performing the installation must have
Administrator privileges to install the shortcuts
in the All Users folder.
Possible values:
true/yes The shortcuts are created in
the All Users folder (default)
false/no The shortcuts are created in
the local user's folder
BEA_BUNDLED_JVMS
Option to select BEA bundled JVMS (for e.g. either
jrockit_160_05 or jdk160_05 for Windows and Linux
platforms). The default value is all BEA bundled JVMs
for selected platform.
LOCAL_JVMS
Option to select supported JVM, which is already
installed. Note: The presence of either(BEA_BUNDLED_JVMS
or LOCAL_JVMS) or both of these tokens negates any
default selection and only sets the values assigned for
these tokens as user selection. The value of the token
can be a pipe ('|') separated JavaHomes.
-->
<bea-installer>
<input-fields>
<data-value name="BEAHOME" value="/u01/app/oracle/product/fmw" />
<data-value name="LOCAL_JVMS" value="/usr/java/jdk1.6.0_45" />
<data-value name="WLS_INSTALL_DIR" value="/u01/app/oracle/product/fmw/wlserver_10.3" />
<data-value name="OCP_INSTALL_DIR" value="/u01/app/oracle/product/fmw/coherence_3.7" />
<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 Coherence/Coherence Product Files" />
<data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" />
<data-value name="NODEMGR_PORT" value="5556" />
<data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes"/>
</input-fields>
</bea-installer>
@tant4lus
Copy link
Author

Example command to run this:

./wls1036_linux32.bin -mode=silent -silent_xml=standard_wls.xml -log=install.log

@tant4lus
Copy link
Author

If you do not have enough space in /tmp for temporary files generated by the installation, add this option

-Djava.io.tmpdir=/alternatetmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment