Oracle12c WebLogic Server Config

From Chorke Wiki
Revision as of 10:25, 28 December 2017 by Shahed (talk | contribs) (Created page with "__TOC__ == Overview == This document provides instructions for installing and running the Oracle installer for [http://www.oracle.com/technetwork/middleware/weblogic/download...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

This document provides instructions for installing and running the Oracle installer for Oracle WebLogic 12.2.1.3. This documentation prepared for MacOS Sierra & High Sierra, It's little bit tricky to cover for any other Linux/Unix distribution. You know that Oracle WebLogic 12.2.1.3 offers full Java EE 7 development, and includes Oracle WebLogic Server and Oracle Coherence. Please download it from OTN

Export JAVA_HOME

export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
java -version
# java version "1.8.0_121"
# Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
# Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Run Installer

cd ~/Downloads/
unzip ./fmw_12.2.1.3.0_wls_Disk1_1of1.zip
cd ./fmw_12.2.1.3.0_wls_Disk1_1of1/

java -jar fmw_12.2.1.3.0_wls.jar 
# Launcher log file is $TMPDIR/OraInstallYYYY-MM-DD_hh-mm-ssa/launcherYYYY-MM-DD_hh-mm-ssa.log.
# Extracting the installer . . . . . . Done
# Checking if CPU speed is above 300 MHz.   Actual 2969.6 MHz    Passed
# Checking swap space: must be greater than 512 MB.   Actual 122629 MB    Passed
# Checking if this platform requires a 64-bit JVM.   Actual 64    Passed
# Checking temp space: must be greater than 300 MB.   Actual 122629 MB    Passed
# Preparing to launch the Oracle Universal Installer from $TMPDIR/OraInstallYYYY-MM-DD_hh-mm-ssa
# Log: $TMPDIR/OraInstallYYYY-MM-DD_hh-mm-ssa/launcherYYYY-MM-DD_hh-mm-ssa.log
# Logs successfully copied to $HOME/oraInventory/logs.

Start Weblogic

export MW_HOME="/opt/cli/oracle/middleware"
export DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain"
cd $DOMAIN_HOME/bin/

./startWebLogic.sh

Stop Weblogic

export MW_HOME="/opt/cli/oracle/middleware"
export DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain"

cd $DOMAIN_HOME/bin/
./stopWebLogic.sh