Installing and

Configuring
WebLogic 12c
(v12.1.3)
Hands-On Workshop
Guide
Copyright © 2014, Oracle. All rights
Reserved

Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.1.3)

Table of Contents
Lab 1: Installing Oracle WebLogic Server 12c (v12.1.3).............................................3
1.1)

Installing WebLogic 12.1.3 using OEPE Installer on Windows.........................3

1.2) Installing WebLogic 12.1.3 and Coherence using Generic Installer on
Windows.................................................................................................................. 9
Lab 2 - Configuring and Smoke-Testing a WebLogic Development Domain..............16
2.1)

Configuring a Developer WebLogic Domain.................................................16

2.2)

Smoke-Test the New WebLogic Domain:.......................................................21

2.2.1)

Starting the WebLogic Server................................................................21

2.2.2)

Checking WebLogic Server:...................................................................21

Revision History........................................................................................................ 24

Copyright © 2014, Oracle. All rights reserved.
Page | 2

Page | 3 .oracle. The “Generic Installer” has 8 steps and provides more control of what to install.3) Lab 1: Installing Oracle WebLogic Server 12c (v12.youtube.1. Oracle.2 release of WebLogic server the Oracle Universal Installer (OUI) is now used (versus the old BEA installer). only one installer type needs to be used.com/technetwork/java/javase/downloads/index.3 using OEPE Installer on Windows This set of instructions is provided to contrast the Generic installer shown in the next section.1.3) with Coherence and OEPE (Oracle Enterprise Pack for Eclipse). The OEPE installer does install the following domain templates which aren’t available with the Generic installer: Enterprise Manager.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.com/technetwork/middleware/fusionmiddleware/downloads/index. All rights reserved.html Activity Steps: 1. When you work through the workshop. Note that starting with the v12.1) Installing WebLogic 12.1.htm#WL SIG237 YouTube Presentation about installing WebLogic 12.com/watch?v=SDT3UMXSAFc The download for WebLogic can be found here: http://www.3 Installation Guide http://docs.1.1.1.oracle.oracle. This lab assumes that a Windows platform will be used for the installation. There are 2 parts to this lab – the first uses the OEPE installer and the 2 nd uses the “Generic” installer.com/middleware/1213/core/WLSIG/planning. Relevant Links:      WebLogic Server Documentation Library – Note the new format of the documentation for 12c http://docs.html Official WebLogic 12. There are some subtle differences so both types of installations are shown here for reference. Oracle Web Services Copyright © 2014.2 by Dave Cabelus https://www. The OEPE installer only has 5 total steps so is faster to configure but doesn’t give the ability to install the WebLogic or Coherence Examples.html The download for a JDK for running WebLogic can be found here: http://www.3) Estimated Time to Complete: 45 minutes Summary: This exercise will walk you through the installation of WebLogic Server 12c (v12.com/middleware/1213/wls/index.1.oracle.

3) and Installers for Developers” -> “Windows 32 installer including OEPE (2GB)” The generic installer includes WebLogic Server and Coherence and is patchable via OPatch (used to be “BSU”.3 installer by double-clicking on oepe-12.1.1. SOAP over JMS.a: “SmartUpdate”). Page | 4 . The Windows. Oracle. Linux and Mac OS X installers add Oracle Enterprise Pack for Eclipse.1.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.1.2) Launch the Oracle WebLogic 12.1.2. 1. Note that this is a FREE version of WebLogic Server for development 1.3.3) Wait for the install wizard to prepare for the installation Copyright © 2014. All rights reserved.1-kepler-installer-win32 1. and the ADF application libraries. a.1. Java Required Files (JRF) for Async Web Services.1) Go to the download link shown above and download “Free Oracle WebLogic Server 12c (12.k.3) Manager.

1.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. click Next Note the new left-hand navigation to show progress through the installation steps.4) On the Welcome Screen.5) On the Installation Location screen: Enter the location for the new “Oracle Home:” Recommended value for this lab: C:\Oracle\WLS_12. Page | 5 . All rights reserved.3_oepe Click Next Copyright © 2014.1.3) A command window will pop-up and start the installation wizard 1.1.2. 1. Oracle.

3) By default.6) On the Installation Summary screen.2. Oracle. Page | 6 .Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. 1.7) View the Installation Progress and wait for the installation to be completed Copyright © 2014. click the Install button to begin the installation process: 1. All rights reserved. this installer will install both WebLogic Server and Coherence. The generic installer found in the downloads directory behaves a little differently in the fact that it allows you to choose whether or not you want to install Coherence and the WebLogic samples.2.1.

Copyright © 2014. select Finish Note that there is no longer any checkbox to “ Run QuickStart” in this installer .8) On the Installation Complete screen. there is a quickstart checkbox used to configure the sample domains. Oracle. the installer generates some libraries that helps server startup times – it also generates client libraries.2. All rights reserved. Page | 7 .1.3) Note that during the “Generating Libraries” step. Select “Next” when the installation is complete 1.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.this is provided as a separate executable to be launched independently if desired. If you are using the generic installer.

All rights reserved. install and oui are for the Oracle Universal Installer  OPatch for patching  The old “modules” directory has been nested under “oracle_common” Here’s a screenshot of a WLS 10.3 in your file explorer When you compare this to a WLS 10.3.1.6 installation.3.6 directory structure for comparison purposes: Notice the patch directories as well as the version numbers of the specific products on the directory names – these were eliminated in WebLogic 12c. Oracle.9) Look at the directory structure that was laid-down for WebLogic 12. Copyright © 2014. you’ll notice that there are 4 new directories:  inventory.1.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.2. Page | 8 .3) 1.

and the ADF application libraries.a: “SmartUpdate”).2) Before you can install any Oracle Fusion Middleware product using a generic installer.1. WebLogic 12.2) Installing WebLogic 12. Oracle. you must download and install a supported JDK on your system before attempting to run the installer.8.1. Oracle Web Services Manager.3 is supported with the Java 8 JDK v1.2. The generic installer does not install the following domain templates: Enterprise Manager. SOAP over JMS.1) Go to the download link shown above and download “Free Oracle WebLogic Server 12c (12.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. Note that this is also a FREE version of WebLogic Server for development 1.1.3) and Installers for Developers” -> “Generic WebLogic Server and Coherence installer (881MB)” The generic installer includes WebLogic Server and Coherence and is patchable via OPatch (used to be “BSU”.0_20 and above. Page | 9 .1. 1.3) 1. The “Generic Installer” has 8 steps and provides more control of what to install. Copyright © 2014. Java Required Files (JRF) for Async Web Services.3 and Coherence using Generic Installer on Windows This set of instructions is provided to contrast the OEPE installer shown in the previous section. All rights reserved.2.k. The OEPE installer only has 5 total steps so is faster to configure but doesn’t give the ability to install the WebLogic or Coherence Examples. a.

0.1.3) For more information about supported JDKs with WebLogic 12.0_20 set PATH=%JAVA_HOME%\bin.0_wls. set JAVA_HOME=C:\PROGRA~1\Java\jdk_1. P a g e | 10 .Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.2.3.3. Oracle. All rights reserved.1.8.2. Copyright © 2014.3)”: 1. Either full-path the java command-line or set the JAVA_HOME and PATH environment variables to reflect the Java JDK. click Next Note the new left-hand navigation to show progress through the installation steps.4) Wait for the install wizard to prepare for the installation 1. In this example.2.0_20 JDK is being used. the v1.3 installer by opening an Administrator command-window in the directory where the generic download was saved to.1. see the following spreadsheet: “System Requirements and Supported Platforms for Oracle Fusion Middleware 12c (12.1.jar” and wait for the installation files to get extracted and the pre-checks to take place 1.1.8.3) Launch the Oracle WebLogic 12.%PATH% Run the command: “java –jar fmw_12.5) On the Welcome Screen.

1. P a g e | 11 .2.3 Click Next Copyright © 2014.3) 1.1. Oracle.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. All rights reserved.6) On the Installation Location screen: Enter the location for the new “Oracle Home:” Recommended value for this lab: C:\Oracle\WLS12.

Coherence.2.1.0_15+. select “Complete with Examples” to install WebLogic. either de-select “I wish to receive security updates via My Oracle Support” or fill in your email and support password and select the “Next” button Copyright © 2014. or JDK 1.2.3) 1. Oracle.8.8) Select “Next” on the Prerequisite Checks screen if all checks are successful. All rights reserved.7) On the Installation Type screen.0_20+) 1.7.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. A supported Java7 or Java8 JDK is required (ie: JDK 1. Select “Next” to continue: 1. and the examples for each.9) On the Specify Security Updates screen.2. P a g e | 12 . otherwise correct and re-launch the installer.

10) On the Installation Summary screen.1. All rights reserved. Oracle. P a g e | 13 .3) If you de-select the checkbox.2. click the Install button to begin the installation process: 1. select “Yes” button in the “My Oracle Support Username/Email Address Not Specified” dialog that pops up: 1. Copyright © 2014.2.11) Review the components that have been selected to be installed in the Installation Summary screen then select the “Install” button.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.

3 is now installed. Oracle.1.2.13) Select “Finish” when the installation is complete to dismiss the installation wizard. the installer generates some libraries that helps server startup times – it also generates client libraries. WebLogic 12. 1.3) 1. P a g e | 14 .12) View the Installation Progress and wait for the installation to be completed Note that during the “Generating Libraries” step.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. Copyright © 2014.2.1. All rights reserved.

Oracle. All rights reserved.6 Installer Directories Directories Directories Copyright © 2014.3 in your file explorer.3 Generic OEPE Installer WLS 10.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.3.3) 1.2.14) Look at the directory structure that was laid-down by the Generic installer for WebLogic 12.1. P a g e | 15 .1.3. Note how this is different from the directory that was installed by the OEPE installer as well as that of a WLS 10.1.6 install: WLS 12.

P a g e | 16 . All rights reserved.1. Activity Steps: 2. This lab assumes that the generic installer was used and will reflect the pathnames from that part of Lab 2.cmd” program in the directory: C:\Oracle\WLS_12.Configuring and Smoke-Testing a WebLogic Development Domain Estimated Time to Complete: 15 minutes Summary: This lab will walk the participants through the configuration and validation of a WebLogic development domain.1.3) Lab 2 .Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. Oracle.1) Configuring a Developer WebLogic Domain Run the config wizard – this can be started by running the “ config.3\oracle_common\common\bin A dialog box comes up while the configuration wizard starts up: Copyright © 2014.

For more information on the use of Templates.Then select “Next”.3.0 [wlserver]” You don’t need to select any additional Templates for a plain old WebLogic development domain .Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. the configuration wizard now also uses the Oracle Universal Installer so has the same look-and-feel as other Oracle products like SOA Suite. The following option is automatically selected:  “Basic WebLogic Server Domain – 12. All rights reserved. look here.just select “Next”. Select the option to “Create a new domain” and override the base domain directory to something like “WLS_12.1. Oracle.3_DevDomain” in the default directory .1.1. Copyright © 2014.3) Note that just like the new installer. P a g e | 17 .

Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. P a g e | 18 . Ensure that the “Development” Domain Mode is selected so the domain is easier to start/stop without having to provide user/password each time.3 was installed or select “Other JDK Location” and select a 64-bit JVM for the domain. All rights reserved.3) Set weblogic user password to “welcome1” You may use the default Java JDK that was used when WebLogic 12. In the future. and/or BPM. Development mode is also easier to deploy applications to because WebLogic will poll an application directory for new artifacts to deploy. Copyright © 2014. a 64-bit JVM will be needed because the heapsize for all those applications together is larger than the max for a 32-bit JVM. OSB.1.1. Oracle. if this WebLogic domain is extended for use with SOA.

These steps aren’t covered in this workshop so select the “Next” button: Review the configuration summary.3) The default domain is set to listen on port 7001 – if you want to override that port number you can modify the administration server settings or modify it after the domain is created by editing the configuration files or changing the port number in the WebLogic administration console. P a g e | 19 . then select the “ Create” button. Oracle.1.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. All rights reserved. Copyright © 2014. Monitor the configuration progress until the domain is created then select “ Next”.

All rights reserved. Copyright © 2014.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. take note of the domain location and admin server URL then select “Finish” (don’t select the “Start Admin Server” checkbox as we’ll start the server manually in the smoke-test next).1.3) After the domain is created. Oracle. P a g e | 20 .

the console application will be deployed onto the new WebLogic domain.1. In any subsequent console access.2) Checking WebLogic Server: You can test to be sure that WebLogic is up by going to the administration console at: http://localhost:7001/console The first time this URL is hit. All rights reserved.3\user_projects\domains\WLS_12.cmd” which is in the C:\Oracle\WLS_12.3) 2. Copyright © 2014.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. the console app will already be there so this delay only happens once. Oracle. Two command-windows will launch starting the domain’s AdminServer as well as the in-memory “Derby Database for the Examples Server” – this will take 10 – 20 seconds depending on the speed of your machine. You’ll know the domain is ready when the line “Server started in RUNNING mode” message appears in the console: 2.2) Smoke-Test the New WebLogic Domain: 2.2.1) Starting the WebLogic Server Start the WebLogic administration server by running the script “ startWebLogic. login as “weblogic”/”welcome1” (or whatever you set the weblogic password to be).1.3_DevDomain\bin directory. P a g e | 21 .2.1.

All rights reserved.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.1. P a g e | 22 . Oracle.3) You should now see the WebLogic console as follows: Copyright © 2014.

All rights reserved.1.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12.3” Copyright © 2014. Oracle.3) Open the “Environment” -> “Servers” -> “AdminServer” and browse through this WebLogic managed server configuration.1. You have successfully completed the Hands-On Workshop “Installing and Configuring WebLogic 12. P a g e | 23 .

0 January 5.0.3) Revision History File Name WebLogic_12. 2015 John VanSant Original Copyright © 2014.1.Hands-On Workshop – Installing and Configuring WebLogic 12c (v12. All rights reserved.1. P a g e | 24 . Oracle.doc Original Author(s) John VanSant Current Revision Author(s) Version Date Author(s) Revision Notes 1.3_Install_and_Config_Workshop_v1.