Oracle12c WebLogic Server Config

From Chorke Wiki
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

Java Path

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.

Where Oracle Fusion Middleware Home set to MW_HOME="/opt/cli/oracle/middleware" and default domain created, which path set to DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain". Please add it to your ~/.bash_profile.

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

After start your server please open the link http://localhost:7001/console/ from your Web Browser. Login with your credential and manage your server.

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