WebLogic Server 12c – ADF: Preparation for ADF on Windows

Here are the steps needed to prepare the Weblogic Server 12c for running ADF applications on Windows:

Prerequisite: Use Java Standard Edition JDK installed on a directory, which does not have folder names more than 8 characters.

E.g. C:\Program Files\Java is not ok, C:\Java is ok.

1) Install weblogic server 12c

Follow all the installation steps and finally give to the created domain a path with less than 8 chars

e.g. C:\appsrv\wl12c\domains (Attention: default domain name is base_domain -> more than 8 characters, change it to domain1 e.g.)

2) Install the application development runtime for adf

(ofm_wls_jrf_generic_12.1.2.0.0_disk1_1of1.zip)

Stop the domains in order to install the adf (download from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html)

3) Install the database needed for repository creation

(if there is no suitable database already installed)

Attention here:

At the time that the article was written, the requirements were as follows:

For 11.2 database, you need 11.2.0.3 (but 11.2.0.3 was not yet ready for Windows)

For 11.1 database, you need 11.1.0.7

For 12.1 database, you need 12.1.0.1.0

(I had 11.2.0.1.0, so I preferred to install a new 12.1.0.1.0, to avoid other future problems).

4) Run the repository creation utility 12.1.2

The good news for those that will prefer the 12c database, is that the RCU is part of the application

development runtime, that we installed at (2)

(otherwise the 11g version must be downloaded and installed separately)

So:

run oracle_common/bin/rcu.bat (java_home must not be in c:\Program Files\Java\.. because the rcu.bat fails)

install the DEV_STB schema

(Note: You can find oracle_common in C:\Oracle\Middleware\Oracle_Home)

5) extend your domain to hold ADF runtime

Open configuration manager and select “update an existing domain”

Select Oracle JRF 12.1.2.0 [oracle_common] and Weblogic Coherence Cluster Extention 12.1.2.0 [wlserver]

Put the credentials of RCU you used above

The remaining steps are straight forward

Leave a Reply