Migration Process of ADF Application on Weblogic Server & Seamless Integration with Oracle EBS by Pranay Tiwari



In this article, we will be discussing the ADF application Deployment prerequisite, Deployment on Weblogic Server and Integration with Oracle EBS.

We have already discussed in the previous article about the configuration of External Weblogic server in JDeveloper. Now we will see how to deploy it on External Weblogic server through JDeveloper.


Before beginning, the deployment process, below prerequisites needs to be considered.

1.    ADF application should not be deployed on Admin Server of the Weblogic Server. You must deploy it to Manage server if Manage server is not available then ask dba to set up a Manage server.
2.    Once Manager server has been configured, do ensure below libraries are associated with it 


  •         adf.oracle.businesseditor(1.0,11.1.1.2.0)   
  •          adf.oracle.domain(1.0,11.1.1.2.0)   
  •          adf.oracle.domain.webapp(1.0,11.1.1.2.0)
  •         jsf(1.2,1.2.9.0)
  •          jstl(1.2,1.2.0.1)


Look in below screenshot to find libraries 







After configuring the Manage server, now the next step is to find the Data Source, The Data source is responsible for providing database access to the application. Every Data Source has JNDI Name as shown in the below screenshot. This JNDI will be used in ADF application at Application Module (AM) Level for establishing a Database connection.

Look into below screenshot to find navigation for Data source and JNDI Name.


As you can find from below screenshot

Data Source Name : EBSDataSources


JNDI Name : jdbc/testvis




This JNDI name must be configured in the Application Module of the ADF application which we are planning to deploy in Weblogic Server.
Follow below screenshot for detailed Steps
   Go to Application Module à Edit the file







Set the JNDI name : jdbc/testvis





Once JNDI name has been configured in the AM of the Application then the next step is to deploy it on WebLogic server. To commence the deployment process
Go to Applicationà Deploy   Select The Application as mentioned in the screenshot





Then Select “Deploy to Application Server” and Click on Next




After clicking on Next Select the Weblogic server on which you want to migrate ADF Application 



Select the Manage Server from below List, do not choose Admin server




Then Click on Next to Finish it 



Once you Click on Finish  , You can check logs in Jdeveloper to verify whether Deployment has successful or not




You can also verify whether ADF application migration in WebLogic server portal. Login to the WebLogic server Portal, Go to the Deployment and find the application name, In our example case, Application name was ResetNDataEntryApp_application1

























Click on “ResetNDataEntryApp_application1” and then click on “Testing” and you can find one URL . That URL is nothing ADF application URL








Now copy this URL and post fix with /faces/<Page.jspx>

For example

http://azolerp01.xxx.com:7403/ ResetNDataEntryApp-ViewController-Context-root/faces/ResetDateEntry.jspx

Now paste  above url in the browser and your page will be displayed



Once it is ensured ADF application working correctly after the successful deployment, the next step will be to call the application from EBS form function. 

Before setting up the Form Function, we need to configure profile option
 " External ADF Application URL" value with  URL generated in the weblogic server. 

Take the url from the below screenshot 


And pasted it as Profile Option Value as shown in below screenshot 





Create the Form function and attach it to MENU to call ADF page from EBS Application
 and in web HTML  we need to write below command 

GWY.jsp?targetPage=<an adf pagee.g. /faces/ModelerHome.jsp>

Example in below screenshot  GWY.jsp?targetPage=faces/ResetDateEntry.jspx



Attach Form Function to Application Developer Menu as shown in the screenshot



Go to Application Developer and Click on the  Menu Function which we have assigned to Application Developer 




Here is your ADF Page  , launching from EBS instance. 






If you like this Article please do share and keep following for latest updates.














Comments

  1. Thecloud migration processis a big undertaking. It involves migrating a company's IT infrastructure into a cloud-based system. This process includes more than just migrating your software and hardware into the cloud; it also includes migrating your data and other assets along with it.

    ReplyDelete
  2. Thank you for providing this valuable information, easy to understand about cloud migration services and cloud migration services. Keep sharing like this post.

    ReplyDelete

Post a Comment

Popular posts from this blog

Sample HZ API's script to Create Contacts and Contact Points in Oracle

REST integration built-in OIC to read Large files with size more than 10MB