1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

OAF Error while deploying OA Project in APPS

Discussion in 'JAVA, SOA and Application Development' started by ac.arijit, Nov 17, 2012.

  1. ac.arijit

    ac.arijit Forum Advisor

    Messages:
    217
    Likes Received:
    22
    Trophy Points:
    280
    Location:
    Kolkata, India
    Hi Guyz,

    I'm new to this forums and also to OAF.
    Oracle Applications Version: 12.0.0 RUP6
    Oracle JDeveloper: 10.1.3.3.0

    I've just went through the OA Framework Developers Guide, OA Framework Beginners Guide Chola Press and Deployment of OA Framework Tutorials in APPS Environment by Anjani Pandey and have built a small test EmpDetails Page with Search,DML and Attachments.

    OA Project: MyAdvBookPR.jpr
    Entity Object: EmployeeEO (table: Employees)
    Entity Object: DepartmentEO (table: Departments)
    Association Object: EmpToDeptAO (Employees.employee_id = departments.department_id(+))
    View Object: EmpDetailsVO
    Application Module: AdvBookAM
    View Object Instance : EmpDetailsVO1
    OA Page: EmployeeManagerPG
    OA Controllers: EmployeeManagerCO (handles the form request on submitbutton "Apply" and "Cancel")
    ResultsAdvTableCO (handles the "Add Another Row" on the advanced table "ResultsAdvTable")


    This whole project works perfect on compilation in local m/c, my files are in: 'F:\OAF\jdevhome\jdev\myclasses\MyAdvBookPR'
    SubDirectories: MyAdvBookPR.oracle.apps.fnd.adv.server , MyAdvBookPR.oracle.apps.fnd.adv.webui and MyAdvBookPR.oracle.apps.fnd.schema.server.

    I zipped the folder MyAdvBookPR and uploaded it in $JAVA_TOP, unzipped it there and imported the "EmployeeManagerPG" page from server.
    Server location of files: $JAVA_TOP/MyAdvBookPR/oracle/apps/fnd/adv

    Next I registered a function as:
    Function Name: XXAEPL_FWK_MYADV_BOOK
    Function User Name: Amrit Sample Employee Details
    Properties Type: SSWA jsp function
    HTML Call: OA.jsp?page=/d02/clone-appl/apps/apps_st/comn/java/classes/MyAdvBookPR/oracle/apps/fnd/adv/webui/EmployeeManagerPG

    Next i added this function in "System Administrator" responsibility main menu.

    On running: i get an exception:
    Code (Java):

    Exception Details.  
     oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /d02/clone-appl/apps/apps_st/comn/java/classes/MyAdvBookPR/oracle/apps/fnd/adv/webui/EmployeeManagerPG;
        at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:529)
        at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3745)
        at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3467)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1100)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
        at _OA._jspService(_OA.java:212)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
        at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
        at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
        at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
        at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
        at _RF._jspService(_RF.java:225)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##

    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /d02/clone-appl/apps/apps_st/comn/java/classes/MyAdvBookPR/oracle/apps/fnd/adv/webui/EmployeeManagerPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
        at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1370)
        at oracle.adf.mds.MElement.findElement(MElement.java:97)
        at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
        at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3745)
        at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3467)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1100)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
        at _OA._jspService(_OA.java:212)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
        at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
        at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
        at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
        at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
        at _RF._jspService(_RF.java:225)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)


    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /d02/clone-appl/apps/apps_st/comn/java/classes/MyAdvBookPR/oracle/apps/fnd/adv/webui/EmployeeManagerPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
        at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1370)
        at oracle.adf.mds.MElement.findElement(MElement.java:97)
        at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
        at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3745)
        at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3467)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1100)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
        at _OA._jspService(_OA.java:212)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
        at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
        at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
        at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
        at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
        at _RF._jspService(_RF.java:225)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)
     
    Plz help me resolve this error or if i've done anything wrong while deploying it plz feel free to pin-point it.
    I would like to apologise for any disobedience to the standards of this forum, in case i have. Plz forgive coz i admit i'm a newbie.
    Hoping and requesting for an immediate response from all the respected members.

    Regards
    Ari :)
     
  2. Bharat

    Bharat Community Moderator Forum Guru

    Messages:
    1,747
    Likes Received:
    147
    Trophy Points:
    1,805
    Location:
    Vijayawada, India
    Hi Ari,

    Please have a look into the following links which may helps you to resolve this issue.

    Link1
    Link2
     
  3. ac.arijit

    ac.arijit Forum Advisor

    Messages:
    217
    Likes Received:
    22
    Trophy Points:
    280
    Location:
    Kolkata, India
    Hi Bharat,
    Thanks a lot for the reply. :D

    The two links you provided me, I'll be honest .. Link1 didn't lead me anywhere, i mean didn't lead me to something relevant for me and for my topic.
    And Link2, i guess didn't relate to my issue somewhat or may be just way above my head .. so cudn't get it !! :( ..

    Can u please, take a li'l more initiative. I'll be thankful. :)

    Regards
    Ari :D
     
  4. Bharat

    Bharat Community Moderator Forum Guru

    Messages:
    1,747
    Likes Received:
    147
    Trophy Points:
    1,805
    Location:
    Vijayawada, India
    Hi Ari,

    No problem I thought those issues are somewhat related to your problem.

    Have you got resulted page when you run this page at design time in jdeveloper?
     
    ac.arijit likes this.
  5. ac.arijit

    ac.arijit Forum Advisor

    Messages:
    217
    Likes Received:
    22
    Trophy Points:
    280
    Location:
    Kolkata, India
    Hi Bharat,

    Yupp, i got the resulted page at design time in JDeveloper, and it was also functioning exactly how desired with all the DML, search and attachments, it's all perfect.

    I doubt there is some problem in deploying.
    Although, i've provided some info about the deployment in my 1st post, still if u wanna know a li'l more details, lemme know.

    Regards
    Ari :)
     
  6. ac.arijit

    ac.arijit Forum Advisor

    Messages:
    217
    Likes Received:
    22
    Trophy Points:
    280
    Location:
    Kolkata, India
    Hey Guyz,

    Yipee !! Success !!

    Our system administrator just bounced the apache server, and then onwards the page is opening perfectly and functioning perfectly.
    I guess this was the step which was missing.

    Thank a lot for the co-operation.

    Regards
    Ari
     
  7. Bharat

    Bharat Community Moderator Forum Guru

    Messages:
    1,747
    Likes Received:
    147
    Trophy Points:
    1,805
    Location:
    Vijayawada, India
    Hi Ari,
    Thanks for your update. Whenever we do certain changes on JSP pages then we need to bounce the apache server to take them into effect. To refresh the page with those modifications.