Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
32 views2 pages

How To Deploy An A DF Application

Uploaded by

deepak sasidhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

How To Deploy An A DF Application

Uploaded by

deepak sasidhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

How to Deploy an ADF Application to a Weblogic Application Server 10.

3 [ID
801398.1]

--------------------------------------------------------------------------------

Modified 13-JUL-2009 Type HOWTO Status PUBLISHED

In this Document
Goal
Solution

--------------------------------------------------------------------------------

Applies to:
Oracle JDeveloper - Version: 11.1.1.0.0
Information in this document applies to any platform.

Goal
How to deploy an ADF-application to a Weblogic application server from JDeveloper
11.1?

Solution
The process of setting up and running a WebLogic Server to handle ADF 11g
applications appears to be causing some confusion. Therefor we documented the basic
steps required to setup and configure WebLogic (both and Admin server and a Managed
server) for ADF Applications in this note.

The steps below have been tested with Weblogic 10.3 and JDeveloper 11.1.1.0.1 build
5188.

Install Weblogic into a new BEA home, for example C:\builds\WLS10_3


While installing you can go for a custom install and deselect the following which
you won�t need:
Workshop
Web 2.0 http pub-sub server
Weblogic Web Server Plugins
UDDI and Xquery Support
Server Examples
Select the JVM that you want to use, for example JRockit.
For testing purposes it is not necessary to install the node manager service. If
you use the Node Manager to start a managed server then some additional
configuration is needed to run ADF applications. Therefor use the commandline to
start the admin server and managed servers.
Complete the install sticking to the defaults, but uncheck the Quickstart option on
the last screen
Now run the JDeveloper install on the target machine
Choose option "existing middleware home" in the home type and select the home that
you just created for the server install (e.g. C:\builds\WLS10_3 in my case)
On the product selection screen make sure that both JDeveloper Studio and ADF
Runtime are installed.
Run the install.
Now run the Configuration Wizard from the start menu
Create a new WebLogic domain
Choose the first option on the next screen to pre-configure the domain with both
WebLogic Server and ADF
Create the admin user as weblogic / weblogic (or whatever). As we�re trying to
emulate a production instance here choose production mode and JRockit as the VM
On the next screen you can choose to customize things like the ports - so choose
yes there so we can reassign out server to use ports 80 and 81
Just choose next on the RDBMS security store page
On the configure the Admin Server page set the port to 81
On the next page Add one managed server called ManagedServer and set the port to 80
No need for clustering in this simple case so next through the cluster page
Create a machine on the next screen. If you are using a machine with a known DNS
name and fixed IP address use that. or just create a arbitrary name such as
LocalMachine if this is all for local testing
Next through to the summary screen
In the Create WebLogic Domain screen change the name of the domain to ADFDomain and
press create.
Finish the wizard.
Now from the command line start the AdminServer with the script (in my case):
C:\builds\WLS10_3\user_projects\domains\ADFDomain\bin\startWeblogic.cmd
You need to specify the username and password if you defined the Domain in
production mode.
Once the AdminServer is started run the console at http://localhost:81/console
Log in.
In the console, click deployments in the Domain Structure tree You should see the
following Deployments:
* adf.oracle.domain(1.0,11.1.1.0.0)
* jsf(1.2,1.2.7.1)
* jstl(1.2,1.2.0.1)

Press Lock and edit in the change center box at the top left of the screen.
Drill down through each of the Deployments and select the Targets tab. For each one
check the checkbox for both the ManagedServer and the AdminServer
Save each deployment change as you make it
Finally press the Activate Changes button when they are all done.
Now to start the ManagedServer - use the command line for this:
C:\builds\WLS10_3\user_projects\domains\ADFDomain\bin\startManagedWeblogic.cmd
ManagedServer http://localhost:80
Now we can run ADF applications on both servers
Now from JDeveloper you will be able to create a Server connection when you deploy
the application using port 81 (the AdminServer) and the domain name of ADFDomain.
When you deploy an application it should prompt to deploy to either the AdminServer
or the managed server.

You might also like