How to Install WebLogic 12C (12.1.1) on Mac

Oracle announced Weblogic 12c on Dec 1, 2011  and released WebLogic 12c for download yesterday.  In today’s post I am going to cover installation of WebLogic 12c on Mac (Procedure on Linux is more or less same, JDK 1.6 must already be installed on machine)

.

High Level Steps to Install WebLogic 12c

  • Download WebLogic Software on Mac Machine
  • Set variable JAVA_HOME, MW_HOME, and USER_MEM_ARGS
  • Unzip WebLogic software
  • Configure WebLogic Server
  • Create WebLogic Domain
  • Start WebLogic Admin Server

1. Download Weblogic Software wls1211_dev.zip and extract to folder (/atul/oracle/weblogic/mw) – This directory is called Middleware Home (MW_HOME)

2. Set JAVA_HOME, MW_HOME, and USER_MEM_ARGS

export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home 

export MW_HOME=/atul/oracle/weblogic/mw 

export USER_MEM_ARGS=”-Xmx1024m -XX:MaxPermSize=256m”

Note: Change middleware home directory (MW_HOME) to directory in which you have unzipped WebLogic zip file

3. Configure Weblogic by running configure.sh

cd $MW_HOME
./configure.sh

4. Set WLS Environment file (setWLSEnv.sh)

. $MW_HOME/wlserver/server/bin/setWLSEnv.sh

5. Create WebLogic Domain using GUI

$MW_HOME/wlserver/common/bin/config.sh

  • On Welcome screen, select Create a new WebLogic Domain
  • Follow domain creation screens
  • On warning “CFGFWK – 60893: The selected JDK version doesn’t match the jdk version pattern” click OK
  • On create domain screen, when progress bar reaches 100% note down Domain Location and Admin Server URL

Note: Directory /atul/oracle/weblogic/mw/user_projects/domains/base_domain is represented by variable $DOMAIN_HOME

6. Start WebLogic Domain

cd $DOMAIN_HOME/bin
./startWebLogic.sh

7. Access WebLogic Admin Server as http://hostname:admin_port/console

http://localhost:7001/console

.

8. Logon to WebLogic Console using user created during domain creation

Note: WebLogic 12c requires JDK 1.6 which comes by default with Mac  

 

Learn Oracle Weblogic Server Administration

 

Get 100 USD OFF + 100% Money Back Guarantee

Click here to get Early Bird Discounts

About the Author Masroof Ahmad

Leave a Comment:

8 comments
Add Your Reply