Oracle12c WebLogic Server Config: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(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...")
 
Line 4: Line 4:
This document provides instructions for installing and running the Oracle installer for [http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html '''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 [http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html '''Oracle WebLogic 12.2.1.3'''] offers full '''Java EE 7''' development, and includes '''Oracle WebLogic Server''' and '''Oracle Coherence'''.  Please download it from [http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html OTN]
This document provides instructions for installing and running the Oracle installer for [http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html '''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 [http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html '''Oracle WebLogic 12.2.1.3'''] offers full '''Java EE 7''' development, and includes '''Oracle WebLogic Server''' and '''Oracle Coherence'''.  Please download it from [http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html OTN]


== Export JAVA_HOME ==
== Java Path ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

Revision as of 10:28, 28 December 2017

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.

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