Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

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

Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

kHALID
HI Erman Arslan,

after upgrade when we move the customization we were not able to open OAF pages..getting below error..
Can you help us to identify what is the issue...do we need to regenrate the class file in /webui folder as per 12.2 standards. Curently we have simply copied the .xml and .class files in $JAVA_TOP/<customize_foler>.

ERROR:
--------

racle.apps.fnd.framework.OAException: Could not load application module 'xxqc.oracle.apps.per.pi.server.PersonalInfoAM'. at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:279) at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1348) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:582) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:470) at _pages.__oa._jspService(__oa.java:233) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:149) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253) at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159) at _pages.__rf._jspService(__rf.java:239) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

JBO-30003: The application pool (qstnddb.qatarsteel.com.qaDBUPGD61559xxqc.oracle.apps.per.pi.server.PersonalInfoAM) failed to checkout an application module due to the following exception: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition xxqc.oracle.apps.per.pi.server.PersonalInfoAM of type ApplicationModule not found at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:512) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208) at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1348) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:582) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:470) at _pages.__oa._jspService(__oa.java:233) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

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

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

ErmanArslansOracleBlog
Administrator
Check the document named "Developing and Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1)" - Section 1.5: Deploying Custom Application Tier Objects

Please review the document above and ensure, you are doing your deployments according to this note.
Reply | Threaded
Open this post in threaded view
|

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

KHALID
I followed the docs...
I have below doubts...
1) when to use adcgnjar file


my class files are under $JAVA_TOP/<xx_top>/(custom_prod_workpackets)/all_class_files and xml file in webui folders.

Now, when I run below command.
Command: adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/customprod.zip -outputFile $JAVA_TOP/customprod.jar -jar $CONTEXT_NAME 1 CUST jarsigner -storePass -keyPass

it created customprod.jar for my .zip folder which has all class files entries in it. after making the changes in ebsProductManifest_xml.tmp by adding customprod.jar entry , after bouncing the middler tier , its working fine.

do I need to run adcgnjar file , if yes then this will create customall.jar , then it will have 2 .jar files.
one customprod.jar and customall.jar , and for new migration what to run?? above command or only adcgnjar utility??

regards,

Reply | Threaded
Open this post in threaded view
|

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

ErmanArslansOracleBlog
Administrator
Here is a phrase from the documentation:

When custom java files are placed in any other non-standard locations, for example,

$JAVA_TOP/oracle/<cust_prod>
$JAVA_TOP/oracle/java/<cust_prod>
and so on
then the custom jar file must be created manually and it must be made available for WebLogic to pick up. Detailed steps for this procedure are given below.

Creating a custom jar file and making it available:

Create a temporary custom.zip file which contains all the custom application's directories/files at the non-standard location. The commands are:
cd $JAVA_TOP
zip -r customprod.zip <directory list> where the <directory list> is the list of all the directory paths, relative to $JAVA_TOP, for custom application's java files at the non-standard location.
Generate and sign the customprod.jar file. Command: adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/customprod.zip -outputFile $JAVA_TOP/customprod.jar -jar $CONTEXT_NAME 1 CUST jarsigner -storePass <KeyStore Password> -keyPass <Key Password>
Delete the temporary customprod.zip. Command: rm $JAVA_TOP/customprod.zip
Follow the steps below for your installation:
For installations below R12.TXK.C.DELTA.6 ONLY: Follow the steps below to make the custom jar file available for WebLogic Server:
Back up the existing <FND_TOP>/admin/template/ebsProductManifest_xml.tmp
Modify <FND_TOP>/admin/template/ebsProductManifest_xml.tmp to add the entry below for customprod.jar (aftercustomall.jar):
<library>customprod.jar</library>
Run AutoConfig
Bounce the middle-tier services
NOTE: These changes will be lost if ebsProductManifest_xml.tmp is patched in future; these changes will need to be done again.
Reply | Threaded
Open this post in threaded view
|

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

ErmanArslansOracleBlog
Administrator
Also, check this note -> How to deploy customizations that are created in the package oracle.apps.xxprod.* rather than xxprod.oracle.apps.* or xxprod.oracle.apps.xxprod.* on EBS 12.2.X? (Doc ID 1609939.1)

So, you don't have to run adcgnjar.
Reply | Threaded
Open this post in threaded view
|

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

KHALID
Hi Erman,

Thanks a lot it helped..i was able to resolve my issue. You the best...

Thanks again for your time and reply .

regards,
Khalid.
Reply | Threaded
Open this post in threaded view
|

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

ErmanArslansOracleBlog
Administrator
Thanks for the feedback Khalid.
Reply | Threaded
Open this post in threaded view
|

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

Anonymous
Can we run OAF custom page in local machine in  R12.2.5?. Same like 12.1.X?. Am trying to run sample page in laptop and getting error: You have insufficient privileges for the current operation. Please contact your System Administrator. Any inputs?.  Jdev version: 10.1.3.5.0.
Reply | Threaded
Open this post in threaded view
|

Re: Customize OAF pages not opening in 12.2.5 after upgrade from 12.1.3

ErmanArslansOracleBlog
Administrator
Hi,

What is the documentation you follow? I 'm asking about the documentation for 12.1.X.

Also are there any logs generated in the local machine ? can you upload those logs?

Take a look at this one as well -> 12.2 jDeveloper OA Framework Pages Fail with Error - "You have insufficient privileges for the current operation. Please contact your System Administrator." (Doc ID 2112561.1)
Reply | Threaded
Open this post in threaded view
|

Could not find and load the custom class Application Module(AM) from 12.1.3

Xicoténcatl
Hi all.

I am uploading my customized page of OAF, when it finished the deployment, I tested the page and  the next message error was showned.

JBO-30003: The application pool (dev.xxxxx.com.xxxxx.oracle.apps.ap.uploadfile.server.UploadFileAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.CustomClassNotFoundException, msg=JBO-26022: Could not find and load the custom class xxxxx.oracle.apps.ap.uploadfile.server.UploadFileAMImpl
        at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
        at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
        at
.
.
.

Could you help me please?

Regards.
Reply | Threaded
Open this post in threaded view
|

Re: Could not find and load the custom class Application Module(AM) from 12.1.3

ErmanArslansOracleBlog
Administrator
This is a new issue, so create a new issue for that. (we can't continue from this issue)
Create a new issue and provide me all the details about your customization. (the steps that you have taken for deploying this customization to EBS)