Thursday, May 8, 2014

Weblogic -- Deploying ADF into Weblogic Server

In this example, I will deploy ADF 11.1.1.4.0 into an Oracle Weblogic Server 10.3.6.

After downloading ADF (ofm_appdev_generic_11.1.1.4.0_disk1_1of1.zip), we unzip download file, and when we unzip the downloaded file, we end up with two Disk directories (Disk1 and Disk2)

Then we go to directory Disk1, and execute RunInstaller..

[root@erptest adf11_1_1_4]# cd Disk1/
[root@erptest Disk1]# ls

doc install readme.htm runInstaller setup.exe stage

[root@erptest Disk1]# ./runInstaller

When we invoke the installer, it just wants us to supply the jdk location. In my case, it was as follows;

Starting Oracle Universal Installer...

Checking if CPU speed is above 300 MHz. Actual 3066 MHz Passed
Checking Temp space: must be greater than 150 MB. Actual 25792 MB Passed
Checking swap space: must be greater than 512 MB. Actual 21648 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-05-08_01-48-04PM. Please wait ...

Please specify JRE/JDK location ( Ex. /home/jre ), <location>/bin/java should exist :
Please specify a valid JRE/JDK location :
Please specify a valid JRE/JDK location :/etc/alternatives/java_sdk_1.6.0

After specifying the jre or jdk location , we continue with the installer dialogs..

It is a quite simple installation.. The only trick is that; you need to supply the directory that will be used for the installation. The directory should be where your Weblogic Server is located.. So you will install ADF into the same directory that your weblogic server resides..


In my case; it was /u01/WLS

[root@erptest u01]# cd WLS/

Before the installation;

[root@erptest WLS]# ls

coherence_3.7 domain-registry.xml logs modules ocm.rsp registry.dat registry.xml utils wlserver_10.3

After the installation;

[root@erptest WLS]# ls

coherence_3.7 domain-registry.xml logs modules ocm.rsp oracle_common registry.dat registry.xml utils wlserver_10.3..

So as you see above, after the installation a directory name oracle_common is added to the directory structure of the Weblogic Server directory.

As I have mentioned, the Installation is simple..


After the installation. We execute the config.sh located in $WLS_HOME/common/bin.
Using config.sh, we start the Fusion Middleware Configuration Wizard.
By using the wizard, we create a Weblogic Domain.
Creating Weblogic Domain is also simple. We create our domain by specifying our admin and managed servers (in this case ADF server)

Here are the screenshots taken during the Domain Creation.










After creating the weblogic domain, we just start our weblogic server using startWebLogic.sh located in the /u01/WLS/user_projects/domains/base_domain --in my case..

When the server become started, we login to the weblogic console using http://servername:port/console --we use the user.pass information that we provided during the installation..

After the login we see start our ADF managed server, as we see that it is not started yet.


We use control checkbox and start button to start the managed server..


Note that, our nodemanager should be up already. If we want to start our managed servers from the console, then we need to have a node manager running.

To start our node manager we use startNodeManager.sh located in /u01/WLS/user_projects/domains/base_domain --in my case


Okay, after starting our Managed server, we use deployments tab to check our deployed applications and that's it..

1 comment :

  1. Hyderabadsys Online Training Institute ensuring accomplished carrier in IT Industry. Hyderabadsys provides best online training for all software tools and technologies. We offer real time specialists with a successful track record in their field of expertise. This adf online training covers these subjects:
    Concept's ADF Proof: Online teaching presents the audience to Oracle ADF. In general, you could typically develop a Proof Of Concept while earning/considering a technology. Likewise, within this section, you will also see methods for developing a real life Proof Of Concept for ADF. In nutshell, this content absolutely support a novice(those who find themselves newto ADF) to get started together with the IDE and framework.
    Costing the Time and Effort Online teaching covers the effort evaluation strategies that are common that before building the applying you could utilize to select the improvement effort. I mus remain that education is unique in character and never observed every other book covering this concept. Truly enjoyed reading that one.
    Getting Organized: Online Instruction is targeted on expertise requirements for coding tips, and doing an ADF challenge and growth environment setup which include source setup, tools needed. An excellent study for one who is planning to begin a choice to intricate ADF application development.

    ReplyDelete

If you will ask a question, please don't comment here..

For your questions, please create an issue into my forum.

Forum Link: http://ermanarslan.blogspot.com.tr/p/forum.html

Register and create an issue in the related category.
I will support you from there.