23 January 2016

Installing webLogic 12.2.1 (12cR2)

I installed WebLogic 12c on windows 10 last week and it was pretty smooth.
I went to the download page and downloaded the generic distribution.
There's a link to an install manual right below the download.
I downloaded the zip an unpacked it to a jar of the same size :-/
Some points of attention now

  • start  a cmd window as administrator
  • make sure to use java from the JDK. If Java from JRE is in your path first this does not work
  • Start the Oracle Universal Installer GUI as in the documentation, it will first check if your platform meets the requirements:
> java -jar fmw_12.2.1.0.0_wls.jar

Checking if CPU speed is above 300 MHz.   ...Passed

Checking monitor: must be configured to display at least 256 colors.   ...Passed

Checking swap space: must be greater than 512 MB    ...Passed

Checking if this platform requires a 64-bit JVM.   Actual 32    Passed (64-bit not required)
During the install you can choose to install WebLogic, Coherence or both.
Just answered the basic questions and clicked finish when installation was done.
In the log file after install (C:\Program Files\Oracle\Inventory\logs) I find a few throwables from patch installations, but nothing worrying.
Maybe you have to explicitly click the "installation complete" menu item, because after I clicked finished the cofiguration wizardfor setting up a domain did not fire. In my cmd tool I went to %WL_HOME%\oracle_common\common\bin (in earlier releases this is %WL_HOME%\wlserver\common\bin) and ran
> config.cmd
This launches the domain create/update GUI, another easy sequence of steps.
You can always return here, if after the installation you want to add additional templates to your installation:

At the end you get a link to the admin console at http://localhost:7001/console.

These days WebLogic by default starts DerbyDB, and I already have that from my Java EE installation, so I disabled that by editing my_domain\bin\setDomainEnv.cmd. Look for the DERBY_FLAG in this file and set it to false:

@REM Set DERBY_FLAG, if derby is available.

if "%DERBY_FLAG%"=="" (
    if exist %WL_HOME%\common\derby\lib\derby.jar (
        set DERBY_FLAG=true
    )
)