Pages

Friday, November 14, 2008

Installing ADF 11G runtime on WebLogic 10.3

Before ADF 11g you had an ADF installer or JDeveloper which you can use to install the ADF libraires on the Application Server. With JDeveloper 11G and WebLogic 10.3 Oracle has changed this deployment procedure. This blog will show you how you can install the ADF 11G libraries on the WebLogic 10.3 Server.

First we install WebLogic on the server and make sure it works. Now we have to download JDeveloper 11G and put this jdeveloper installer on the server where you installed WebLogic.

Start the JDeveloper 11g installer where we will select the middleware home of the WebLogic installation.

Select the ADF runtime option. JDeveloper Studio is optional.



And finish the installation. Next we can start the configuration wizard on the WebLogic where we change the domain and add the ADF libraries to it.

I want to extend the already existing domain.

Select the webLogic domain in my case wlserver_10.3/samples/domain/wl_server

Now we can enable the ADF option to the domain configuration

and press extend and we are ready.

start the WebLogic server and go to the console application where we will see the ADF library in the deployments overview.

5 comments:

  1. Hi,

    first of all, thanks for the great and up to date articles!

    We have set up everything exactly as you did, but the deployment nevertheless does not work. **ADFFilter** class cannot be found. In our domain under deployments I can see: adf.oracle.domain(1.0,11.1.1.0.0) Type Library..

    Have you any idea what's might be wrong?

    I have to put every ADF Runtime libs in my deployment which results in an EAR of size > 40MB.

    ReplyDelete
  2. Ok,

    did you make 2 deployment profiles

    first make a war profile, then a ear profile where you have the war module.

    in the ear profile is the weblogic-application.xml included. then it will use the adf lib.

    after the deployment you can see in wls console that the adf lib has a dependency with your webapp

    thanks Edwin

    ReplyDelete
  3. Hi I made a blog entry to explain how you can deploy your adf app to wls

    http://biemond.blogspot.com/2008/12/deploy-your-11g-webapp-to-weblogic.html

    thanks

    ReplyDelete
  4. Hi Edwin,

    thanks for the quick reply.

    First I had only a WAR when I realized the problem with the missing adf libs.

    In the meantime I have created an EAR but had not the idea to remove the adf libs from the WAR profile to check the different deployment;-)

    Thanks a lot,
    Andreas.

    ReplyDelete
  5. I have done with another way...

    . /opt/oracle/app/product/MiddlewareTeste/wlserver_10.3/server/bin/setWLSEnv.sh

    Assuming that /opt/oracle/app/product/Middleware is my JDeveloper installation

    java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password ***** -targets JHeadStartCluster -deploy -library /opt/oracle/app/product/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adf.oracle.domain.ear

    ReplyDelete