Deploying/Modify OAF Customization in Oracle shipped directory error occurring

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploying/Modify OAF Customization in Oracle shipped directory error occurring

faheem sultan
We create a custom OAF form and deployed it by performing following steps: -
1. Deployed classes in "JAVA_TOP/oracle/apps/ak/cpp".
2. Run Import Script of all xml files (i.e pages/regions)
3. Generated jar file named "ak.jar" with path "oracle/apps/ak"
4. Added jar entry in ebsProductManifest_xml.tmp after customall.jar
5. Recompiled jars using adadmin
6. Bounce middle tier

At first everything went fine and form was working fine on the application. Later, I then performed some minor changes i.e some additional validations and deployed it again by performing above steps but the changes are not reflecting on server. I tried twice but in vain. I then even removed classes from the "ak" folder i.e "oracle/apps/ak/cpp" and performed above steps (in this case form should crash) but form is still working as it was first deployed.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Deploying/Modify OAF Customization in Oracle shipped directory error occurring

ErmanArslansOracleBlog
Administrator
Hi,

Are you following the document named : Developing and Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1) ?
Reply | Threaded
Open this post in threaded view
|

Re: Deploying/Modify OAF Customization in Oracle shipped directory error occurring

faheem sultan
Yes.
Reply | Threaded
Open this post in threaded view
|

Re: Deploying/Modify OAF Customization in Oracle shipped directory error occurring

ErmanArslansOracleBlog
Administrator
When you use unzip to open the jar (ak.jar), that you have generated u, what do you see? Your up-to-date java is there, in it ?
Reply | Threaded
Open this post in threaded view
|

Re: Deploying/Modify OAF Customization in Oracle shipped directory error occurring

faheem sultan
I have done the resolution by generating jar file for the product using adadmin utility.

Actually my new changes was not appearing on application and it showing error against my new changes, then I remove everything from the my directory and executed regen jar using adadmin now it is working fine. It will help those who are facing there kind of issue.


Thanks,
Reply | Threaded
Open this post in threaded view
|

Re: Deploying/Modify OAF Customization in Oracle shipped directory error occurring

ErmanArslansOracleBlog
Administrator
Thanks Faheem

Can you write the things that have been done to solve this problem, step by step?
Reply | Threaded
Open this post in threaded view
|

Re: Deploying/Modify OAF Customization in Oracle shipped directory error occurring

faheem sultan
Step 1. If you Want completely remove your project (solution for R.12.2.4.and R.12.2.5)
1. Shut down Application (do not use root user) using putty session or on server. In my case using Putty
2. write adadmin (Enter)
3. provide Manager password
4. provide apps password
5. Ad Administrator Main Menu will appear
6. select "Generate Application Files Menu
7. Enter selection  [4] "Generate Product JAR file {ENTER}
8. Write [Yes] to generate JAR file forcefully.

Optional:
--------------
Run Autoconfig
9. startup Application.

Step 2. If your changes/modification does not sync
Note :- ebsProductManifest_xml must contain your Jar file name (Doc id 1609939.1)
1. Remove custom Jar file {that has been created on $JAVA_TOP}
2. create zip file (your custom directory)
3. unzip file and define output directory
4. run adadmin
5. Select "Compile/Reload Applications Database Entities menu"
6. Bounce Application

if problem resist then follow step 1.

for Jar creation follow meta link Doc id 1609939.1

Thanks