Search This Blog

Friday 3 July 2009

Installing the ADF Runtime on Oracle Fusion Middleware 11gR1

I installed OFM 11g R1 today with just the Weblogic server itself installed. Once that was done my next task was to install ADF into the Weblogic server and found this in the documentation.

35.6 Installing the ADF Runtime to the WebLogic Installation
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDHGGHH

You can install the ADF runtime using the following installers:
  • Oracle 11g Installer: Installs JDeveloper, the ADF runtime, and Oracle WebLogic Server. It does not install Oracle Enterprise Manager.

  • Oracle Fusion Middleware 11g Application Developer Installer: Installs the ADF runtime and Oracle Enterprise Manager. You should use the Oracle Fusion Middleware 11g Application Developer Installer if you want to use Oracle Enterprise Manager to manage standalone ADF applications (without Oracle SOA Suite or Oracle WebCenter components). You must already have installed Oracle WebLogic Server before you can use this installer.

The first option I had previously done for Oracle weblogic 10.3 , but I thought it would be more useful to go the second option and actually obtain Oracle Enterprise Manager which amoung many features it includes a web application MBean browser which is what I was after from my OFM Weblogic server. To extend or create domains with ADF runtime and Oracle Enterprise Manager follow these steps.

1. Download the following.

http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html
Application Development Runtime

2. Unzip the file ofm_appdev_generic_11.1.1.1.0_disk1_1of1.zip

3. Run "runInstaller" and install it into your OFM 11g R1 home. It will prompt you for the OFM home directory.

4. Finally use the steps below to either extend or create a new domain which has ADF runtime and OEM added to the domain.

35.7.1 How to Create an Oracle WebLogic Server Domain for Oracle ADF
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDHGGHH

Note: If you used the Oracle Fusion Middleware Application Developer Installer, select Oracle Enterprise Manager and Oracle JRF when creating the domain or extending it.

Now finally we want to ensure we can deploy ADF applications from JDeveloper 11g R1 to our domain which we must do as follows.

5. Login into OEM. The username and password should be your Weblogic Server console application credentials

http://{server}:{port}/em

6. Click the + symbol for "Weblogic Domain".
7. Click on the + symbol for your domain.
8. Select the managed server you wish to enable ADF applications for.
9. Click on the button "Apply JRF Template".

It was nice to know you could get Oracle Enterprise manager installed into your domain without Oracle SOA Suite or Oracle WebCenter components.

7 comments:

Anonymous said...

we did everthimg you suggest.
But we can't find how we can start and connect enterprise manager

Ali Nizam

Pas Apicella said...

Once your start the AdminServer using "startWebLogic.sh" script in your DOMAINE_HOME/bin directory it will start the "em" application in which case you can log in using the following.

http://{server}:{port}/em

Now you have Oracle Enterprise Manager and Weblogic console application both running.

Credentials should be your Weblogic console connection details.

Anonymous said...

Thanks for the tip - the "Apply JRF Template" solved our issue.

Where is it documented in the official documentation ?

I was following steps from Section 35.6, "Installing the ADF Runtime to the WebLogic Installation"
URL: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDHGGHH

but missed it.

Pas Apicella said...

It's in a couple of spots here is one of the links.

http://download.oracle.com/docs/cd/E12839_01/core.1111/e10105/scaling.htm#ASADM11033

Chris Muir said...

Minor correction:

Step 2) This prompts you for the JDK/JRE home within your OFM install. This can be either the Java JDK/JRE or the JRockit JDK/JRE depending on what options you selected via the WLS installation. An example directory on Windows may be c:\standaloneWls\jrockit_160_05_R27.6.2-20

Cheers,

CM.

Anonymous said...

hi,
Do you know how to install in silent mode?

Pas Apicella said...

I believe it's done as follows, never tried it that way though, but should work.

http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14827/silent_install.htm#i1003960

When you ready to configure or extend your domain to use the application developer install for EM/ADF then use console mode as follows.

Execute the following command:

* Windows: config.cmd -mode=console
* UNIX: sh config.sh -mode=console