Deploy ADF application to Oracle WebLogic Server

This post covers extending/enabling WebLogic Server to deploy ADF (Application Development Framework) application.  
            ADF is development framework to develop Fusion Application (and REA / Rich Enterprise Application using JSF)
.

Main steps for ADF application to WebLogic Server

1.Install Oracle (BEA) WebLogic Server – skip this step if you already have WebLogic Server (For WebLogic Server Installation click here )

2.Install ADF runtime (available as part of Jdeveloper 11g) to WebLogic Server

3.Create and extend WebLogic domain for ADF (to know more about domain in WebLogic Server click here )

4.Deploy ADF application to WebLogic Server.

Step 1-2-3 are one time configuration

.

2. Install ADF Runtime in WebLogic Server

2.1 Download Jdeveloper 11g from here

2.2 Install Jdeveloper with following consideration
a) Select installation directory same as BEA/Oracle WebLogic Home
b) Select Application Development Framework Runtime under Products and Components

.

3. Create/Extend WebLogic Domain for Application Development Framework (ADF)

use config.cmd (config.sh for Unix) to create or configure domain

.

If you want to use existing domain select Extend an existing domain or to create new domain select Create a new WebLogic domain

.
Under Domain Source, select Application Development Framework

.

WebLogic Server is now ready to deploy ADF application. You can now user WebLogic Admin Console or Jdeveloper or ANT (scripts) to deploy application

4.Deploy ADF application to WebLogic Server – to deploy application on WebLogic Server click here

.

References

Jdeveloper/ADF development Guide

Share This Post with Your Friends over Social Media!

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

8 comments
fc71 says April 18, 2011

hi ,
atul i installed adf and deployed an application
but when i try to test i am getting this error

Error 500–Internal Server Error

java.lang.NoClassDefFoundError: oracle.jbo.domain.Struct
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
at java.lang.J9VMInternals.verify(J9VMInternals.java:70)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)

where should i look for the error
do you have any idea

thanks

Reply
fc71 says April 18, 2011

soryy for 2 post i will just post the full error may be you can help me out i am trying to find out what is the problem but i couldnt find any helpful answer yet

Error 500–Internal Server Error

java.lang.NoClassDefFoundError: oracle.jbo.domain.Struct
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
at java.lang.J9VMInternals.verify(J9VMInternals.java:70)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:139)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.class$(JUApplicationDefImpl.java:31)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.(JUApplicationDefImpl.java:68)
at oracle.jbo.uicli.mom.JUMetaObjectManager.createContainerDefObject(JUMetaObjectManager.java:356)
at oracle.jbo.mom.DefinitionManager.getDynamicObjectsContainer(DefinitionManager.java:798)
at oracle.jbo.mom.DefinitionManager.loadParent(DefinitionManager.java:780)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:495)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:365)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:296)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.findDefObject(JUApplicationDefImpl.java:83)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:559)
at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:348)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:182)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:176)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassNotFoundException: oracle.jbo.domain.Struct
at java.lang.ClassNotFoundException.(ClassNotFoundException.java:76)
at java.net.URLClassLoader.findClass(URLClassLoader.java:396)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
… 31 more

Reply
Atul Kumar says April 18, 2011

@ fc71,
Jar file containing class oracle.jbo.domain.Struct is missing in your classpath (using which JVM is running)

Raise an SR with Oracle support and ask which jar file contains this class , then include that jar file in your classpth (used by weblogic server startup command)

Reply
fc71 says April 19, 2011

thank you i will try that

Reply
moulali says May 3, 2012

hi,
i am new to weblogic app server,i want to know the different modes of weblogic server like what we can do in sever rather than deploying an application, i have searched on net also but i dint got the proper answer plz help me..

thanks
regards moulali

Reply
kalyan says March 4, 2015

Hello sir,
we are using Oracle wewblogic server 11( 10.3.6 ) version..How can i know which Webserver we are using?? How

to find it..?

Reply
kalyan says March 4, 2015

Hello sir,
we are using Oracle wewblogic server 11( 10.3.6 ) version..How can i know which Webserver we are using?? How to find it..?

Reply
kalyan says March 4, 2015

Hello Sir,
I am Newbie to Oracle Weblogic Server.we are using WLS 10.3.6 in our Workspace and Deploying .war file to APp server. I want to know the Functionality and Working of WLS App server immediat After Deploy of .war.How the application Intracts and Communicates/ works with Serevr..Please Tell me and reply me via mail

Thank You..

Reply
Add Your Reply