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 Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

8 comments
ashrafias says December 16, 2011

Hi Atul

Thanks so much for the post…

Could you please let me know the performance of SOA12c in WebLogic 12c .

.As SOA11g performance in weblogic 11g was not up to the mark .

We have SOA10g running on Weblogic 11g .Just want to know if we can soa 10g on weblogic 12c or soa12c on weblogic 12c

Thanks
Ashraf

Reply
Atul Kumar says December 17, 2011

@ ashrafias,
Performance is driven by heap configured for JVM for WebLogic Server, cpu/memory of server on which weblogic server is running and application deployed on top of weblogic server.

Q: We have SOA10g running on Weblogic 11g .Just want to know if we can soa 10g on weblogic 12c or soa12c on weblogic 12c

A: No, SOA 10g/11g is not yet certified on weblogic 12c.

Regarding your SOA performance issues check heap settings of your WebLogic and run performance tools to monitor and find root cause of performance issues of your SOA application

Reply
ashrafias says December 19, 2011

Thanks alot Atul for the reply ..

Could you please let me know if SOA12c is certified on weblogic 12c .

Regards
Ashraf

Reply
Atul Kumar says December 19, 2011

@ashrafias,
I don’t think SOA 12c is out yet, its only weblogic 12c and oem12c released so far.

Reply
dhaval desai says March 18, 2012

Hi,
I had downloaded the installer for macOS from oracle site. While installing it asks me for the jdk location. I am really stuck up there, can u please tell me which location should i mention there.

Reply
Atul Kumar says March 18, 2012

@ Dhaval
Weblogic 12c installer requires Jdk 1.6 so you need to install Jdk first

Use Jdk installation directory during weblogic 12c installation when prompted for jdk

Reply
Atul Kumar says March 18, 2012

@ Dhaval,
Mac comes with JDK by default under

/System/Library/Frameworks/JavaVM.framework/Versions/Current

Atul:~ atul$ which java
/usr/bin/java

Atul:~ atul$ ls -l /usr/bin/java
lrwxr-xr-x 1 root wheel 74 16 Feb 07:47 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

Try with JDK location as /System/Library/Frameworks/JavaVM.framework/Versions/Current

Reply
Dimos says June 24, 2016

Thank you…

Reply
Add Your Reply

Not found