Oracle12c WebLogic Server Config: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Overview ==
== Overview ==
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'''].  It's prepared for '''MacOS Sierra & High Sierra'''. It's little bit tricky to cover this documentation 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]


== Java Path ==
== Java Path ==
Line 22: Line 22:
# Launcher log file is $TMPDIR/OraInstallYYYY-MM-DD_hh-mm-ssa/launcherYYYY-MM-DD_hh-mm-ssa.log.
# Launcher log file is $TMPDIR/OraInstallYYYY-MM-DD_hh-mm-ssa/launcherYYYY-MM-DD_hh-mm-ssa.log.
# Extracting the installer . . . . . . Done
# Extracting the installer . . . . . . Done
# Checking if CPU speed is above 300 MHz.   Actual 2969.6 MHz   Passed
# 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 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 if this platform requires a 64-bit JVM.   Actual 64           Passed
# Checking temp space: must be greater than 300 MB.  Actual 122629 MB    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
# Preparing to launch the Oracle Universal Installer from $TMPDIR/OraInstallYYYY-MM-DD_hh-mm-ssa
Line 30: Line 30:
# Logs successfully copied to $HOME/oraInventory/logs.
# Logs successfully copied to $HOME/oraInventory/logs.
</syntaxhighlight>
</syntaxhighlight>
Where '''Oracle Fusion Middleware Home''' set to <code>MW_HOME="/opt/cli/oracle/middleware"</code> and default domain created, which path set to <code>DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain"</code>. Please add it to your <code>~/.bash_profile</code>.


== Start Weblogic ==
== Start Weblogic ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
export MW_HOME="/opt/cli/oracle/middleware"
# export MW_HOME="/opt/cli/oracle/middleware"
export DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain"
# export DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain"
cd $DOMAIN_HOME/bin/
# nohup $DOMAIN_HOME/bin/startWebLogic.sh > /dev/null 2>&1 &
$DOMAIN_HOME/bin/startWebLogic.sh
</syntaxhighlight>


./startWebLogic.sh
After start your server please open the link [http://localhost:7001/console/ <code>http://localhost:7001/console/</code>] from your Web Browser. Login with your credential and manage your server.
</syntaxhighlight>


== Stop Weblogic ==
== Stop Weblogic ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
export MW_HOME="/opt/cli/oracle/middleware"
# export MW_HOME="/opt/cli/oracle/middleware"
export DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain"
# export DOMAIN_HOME="$MW_HOME/user_projects/domains/base_domain"
 
$DOMAIN_HOME/bin/stopWebLogic.sh
cd $DOMAIN_HOME/bin/
./stopWebLogic.sh
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 11:27, 28 December 2017

Overview

This document provides instructions for installing and running the Oracle installer for Oracle WebLogic 12.2.1.3. It's prepared for MacOS Sierra & High Sierra. It's little bit tricky to cover this documentation 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"
# nohup $DOMAIN_HOME/bin/startWebLogic.sh > /dev/null 2>&1 &
$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"
$DOMAIN_HOME/bin/stopWebLogic.sh