Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Could not load application module 'oracle.apps.XXCUST.xxom.xxDOYOrders.server.XxOmDOYOrdersAM

$
0
0
Error in R12.2.5:


oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.XXCUST.xxom.xxDOYOrders.server.XxOmDOYOrdersAM'.
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)      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)              at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)


Reason :

This was due to incorrect/corrupted/missing jar file generation.

Pre-Check


1. Cross verified the custom jar files which is inside $JAVA_TOP
a) Just copied the customXXCUST.jar to a different location ex:

cp $JAVA_TOP/customXXCUST.jar /home/appDOY/s/
b) Now extract the customXXCUST.jar 
unzip customXXCUST.jar
c) Now I checked the files inside that
/home/appDOY/s/oracle/apps /XXCUST
Here This should list all the files which we have zipped . But I can find only the following file
XXCUST_bck

Solution:

If you are taking backup of any folders,and place that in a different Directory which is out of the zip which you are using below.
Steps to be followed to include all the custom files to a single Jar file.

Please check the note (Note: 1609939.1) for additional details.
Step 1. Backup existing $JAVA_TOP/customXXCUST.jar into a different location.
Step 2. Remove all duplicate/backup folders under
$JAVA_TOP/oracle/apps/XXCUST/
Step 3. Steps to recreate customXXCUST.jar including the files from $XXCUST_TOP/java

cd $JAVA_TOP
zip -r customXXCUST.zip oracle/apps/XXCUST
zip -r customXXCUST.zip Doyen

Note : Before doing the below copy check and remove the customXXCUST.zip if already presents in $XXCUST_TOP/java
cp $JAVA_TOP/customXXCUST.zip $XXCUST_TOP/java
cd $XXCUST_TOP/java
zip -r customXXCUST.zip Doyen
zip -r customXXCUST.zip oracle/apps/

Note : Before doing the below copy check and remove the customXXCUST.zip if already presents in $APPL_TOP/cns_cust/java
cp $XXCUST_TOP/java/customXXCUST.zip $APPL_TOP/cns_cust/java
cd $APPL_TOP/cns_cust/java
zip -r customXXCUST.zip oracle
zip -r customXXCUST.zip commod

Note : Before doing the below copy check and remove the customXXCUST.zip if already presents in $JAVA_TOP
cp $APPL_TOP/cns_cust/java/customXXCUST.zip $JAVA_TOP


Step 4:  Create JAR file

adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/customXXCUST.zip -outputFile $JAVA_TOP/customXXCUST.jar -jar $CONTEXT_NAME 1 CUST jarsigner -storePass -keyPass
Step 5:  Cleanup
  rm $JAVA_TOP/customXXCUST.zip
  rm $XXCUST_TOP/java/customXXCUST.zip
  rm $APPL_TOP/cns_cust/java/customXXCUST.zip
 chmod 775 $JAVA_TOP/customXXCUST.jar

Note :

After Doing the above steps, The above jar file is there in Java_TOP and this will be known to Weblogic only if the below steps is done.
Follow steps below to make the custom jar available for WebLogic 
       a) Take a back-up of existing <FND_TOP>/admin/template/ebsProductManifest_xml.tmp
       b) Modify <FND_TOP>/admin/template/ebsProductManifest_xml.tmp to add below entry for customXXCUST.jar (after customall.jar)
          <library>customXXCUST.jar</library>
       c) Run AutoConfig
       d) Bounce the Mid-tier services 




Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>