Tuesday, May 13, 2014

WebLogic Server Installation in Console Mode

This topic describes how to start the WebLogic Server installation in console mode in different environments.
Console Mode installation allows you to install the WebLogic Server through command line.

Console Mode Installation (using  Package installers) on Windows

Follow these steps to install the WebLogic Server using console mode on a Windows platform 
Log in to the Windows system.
Open a command prompt
Go to the directory that contains the installation program.
Start the installation by executing the below command

wls1036_win32.exe -mode=console

You can include the log option to create a verbose installation log and temporary directory path and in the command line

wls1036_win32.exe -mode=console -log=C:\Installation_log -Djava.io.tmpdir=C:\Temp


Console Mode Installation (using  Package installers) on Unix Machines

To start the console mode installation process with .bin installation files, follow these steps.
Log in to the target UNIX system.
Go to the directory that contains the installation program.

chmod a+x <.bin installation file>
Launch the installation by entering the following commands:
./<.bin installation file> -mode=console

You can include the log option to create a verbose installation log and temporary directory path and in the command line

./<.bin installation file> -mode=console -log=<path to the logfile> -Djava.io.tmpdir=<tmpdirpath>

Ex:
chmod a+x wls1036_linux32.bin
 ./wls1036_linux32.bin -mode=console (or)
 ./wls1036_linux32.bin -mode=console -log=/u01/installationlog.txt -Djava.io.tmpdir=/tmp

Console Mode Installation by using Generic WebLogic Installer on Windows and Unix Machines

To start the installation program in console mode for installation files with names ending in .jar, perform the following steps.

Set the appropriate JDK Path to the PATH variable definition as below:

JAVA_HOME=path_to_JDK;
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH;
export $PATH

Go to the directory where you downloaded the installation program and launch the installation program by entering the following command

java -jar /u01/wls1036_generic.jar -mode=console (or)
java -jar /u01/wls1036_generic.jar -mode=console -log=/u01/installationlog.txt -Djava.io.tmpdir=/tmp

Installing WebLogic Server on 64-Bit Platforms Using a 64-Bit JDK

If you are installing WebLogic Server on a 64-bit platform execute the below command

java -d64 -jar wlsversion_generic.jar -mode=console