13 Replies Latest reply on Apr 20, 2012 3:33 PM by user11258661

    Imoprting page to server

    user11258661
      Hi,

      I have a requirement to display a page with a certain region when a link is clicked. I imported this region from the server. I created a new page and created a region in this page and added the contents of the imported region to this region and set all the properties accordingly. But when i move it to the server and create a function and associate it with a menu and try to access it, i get an error page saying "You have encountered an error. Please contact the system administrator". Could someone please help me with what the issue might be.

      Regards,
      Shreyas
        • 1. Re: Imoprting page to server
          872073
          1. Enable Diagnostics and see the error

          -Prince
          http://www.princekapoor82.blogspot.com
          • 2. Re: Imoprting page to server
            user11258661
            Hi,

            I tried enabling the diagnostics but its of no use. It does not give any error details. All that i can see when i open the page is the error message stating that "You have encountered an unexpected error. Please contact the System Administrator for assistance."

            There is nothing else on the page expect for the logout button and the above message.

            Regards,
            Shreyas
            • 3. Re: Imoprting page to server
              778747
              What did you do to enable diagnostics?
              If you have set FND Diagnostics to Yes, try bouncing the apache.
              You shud see the Diagnostics link on the top of the page.

              Thanks
              SPS
              • 4. Re: Imoprting page to server
                user11258661
                Hi,

                I have set all that. It seems to be a problem with Mozilla Firefox. Anyways, i tried accessing the same page through IE and i was able to get the error message. The error details is as below.

                Error Page
                Exception Details.
                oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.qot.quote.header.server.QotQuoteDetailsAM'.
                     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:1300)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
                     at OA.jspService(_OA.java:212)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
                     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
                     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
                     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
                     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
                     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
                     at RF.jspService(_RF.java:225)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     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:621)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                     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:735)
                ## Detail 0 ##
                oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: APP-FND-02938: Multi-organization routine failed to initialize a session for the product: &PRODUCT. Please inform your support representative.
                ORA-06512: at "APPS.FND_MESSAGE", line 509
                ORA-06512: at "APPS.MO_GLOBAL", line 36
                ORA-06512: at "APPS.MO_GLOBAL", line 757
                ORA-06512: at "APPS.MO_GLOBAL", line 700
                ORA-06512: at line 1
                ;
                     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.initializeMultiOrg(OADBTransactionImpl.java:3501)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.handleMultiOrgInit(OAApplicationModuleImpl.java:1393)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.setCookie(OADBTransactionImpl.java:1983)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.setCookie(OAApplicationModuleImpl.java:1200)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(OAHttpSessionCookieImpl.java:227)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(OASessionCookieHelper.java:475)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(OASessionCookieHelper.java:125)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(OAHttpSessionCookieImpl.java:953)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:519)
                     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:1300)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
                     at OA.jspService(_OA.java:212)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
                     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
                     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
                     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
                     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
                     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
                     at RF.jspService(_RF.java:225)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     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:621)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                     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:735)
                ## Detail 0 ##
                java.sql.SQLException: ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: APP-FND-02938: Multi-organization routine failed to initialize a session for the product: &PRODUCT. Please inform your support representative.
                ORA-06512: at "APPS.FND_MESSAGE", line 509
                ORA-06512: at "APPS.MO_GLOBAL", line 36
                ORA-06512: at "APPS.MO_GLOBAL", line 757
                ORA-06512: at "APPS.MO_GLOBAL", line 700
                ORA-06512: at line 1

                     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
                     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
                     at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
                     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
                     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
                     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
                     at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
                     at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
                     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
                     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
                     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
                     at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4710)
                     at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.initializeMultiOrg(OADBTransactionImpl.java:3497)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.handleMultiOrgInit(OAApplicationModuleImpl.java:1393)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.setCookie(OADBTransactionImpl.java:1983)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.setCookie(OAApplicationModuleImpl.java:1200)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(OAHttpSessionCookieImpl.java:227)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(OASessionCookieHelper.java:475)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(OASessionCookieHelper.java:125)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(OAHttpSessionCookieImpl.java:953)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:519)
                     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:1300)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
                     at OA.jspService(_OA.java:212)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
                     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
                     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
                     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
                     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
                     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
                     at RF.jspService(_RF.java:225)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     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:621)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                     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:735)
                oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: APP-FND-02938: Multi-organization routine failed to initialize a session for the product: &PRODUCT. Please inform your support representative.
                ORA-06512: at "APPS.FND_MESSAGE", line 509
                ORA-06512: at "APPS.MO_GLOBAL", line 36
                ORA-06512: at "APPS.MO_GLOBAL", line 757
                ORA-06512: at "APPS.MO_GLOBAL", line 700
                ORA-06512: at line 1
                ;
                     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.initializeMultiOrg(OADBTransactionImpl.java:3501)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.handleMultiOrgInit(OAApplicationModuleImpl.java:1393)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.setCookie(OADBTransactionImpl.java:1983)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.setCookie(OAApplicationModuleImpl.java:1200)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(OAHttpSessionCookieImpl.java:227)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(OASessionCookieHelper.java:475)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(OASessionCookieHelper.java:125)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(OAHttpSessionCookieImpl.java:953)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:519)
                     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:1300)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
                     at OA.jspService(_OA.java:212)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
                     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
                     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
                     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
                     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
                     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
                     at RF.jspService(_RF.java:225)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     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:621)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                     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:735)
                ## Detail 0 ##
                java.sql.SQLException: ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: APP-FND-02938: Multi-organization routine failed to initialize a session for the product: &PRODUCT. Please inform your support representative.
                ORA-06512: at "APPS.FND_MESSAGE", line 509
                ORA-06512: at "APPS.MO_GLOBAL", line 36
                ORA-06512: at "APPS.MO_GLOBAL", line 757
                ORA-06512: at "APPS.MO_GLOBAL", line 700
                ORA-06512: at line 1

                     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
                     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
                     at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
                     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
                     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
                     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
                     at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
                     at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
                     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
                     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
                     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
                     at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4710)
                     at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.initializeMultiOrg(OADBTransactionImpl.java:3497)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.handleMultiOrgInit(OAApplicationModuleImpl.java:1393)
                     at oracle.apps.fnd.framework.server.OADBTransactionImpl.setCookie(OADBTransactionImpl.java:1983)
                     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.setCookie(OAApplicationModuleImpl.java:1200)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(OAHttpSessionCookieImpl.java:227)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(OASessionCookieHelper.java:475)
                     at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(OASessionCookieHelper.java:125)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(OAHttpSessionCookieImpl.java:953)
                     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:519)
                     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:1300)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
                     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
                     at OA.jspService(_OA.java:212)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
                     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
                     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
                     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
                     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
                     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
                     at RF.jspService(_RF.java:225)
                     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
                     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                     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:621)
                     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                     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:735)



                The QotQuoteDetailsAM being referred to here is the standard AM. So I'm not sure as to why i get this message saying that it is unable to load the AM.

                Could someone please let me know why this is happening.

                Regards
                Shreyas
                • 5. Re: Imoprting page to server
                  Bharat_Hegde
                  Hi,

                  I think u have dint put the AM files(XXXAM.xml and XXXAMImpl.java) to the server.
                  Also check whether you have given the AM Definition property for the page.

                  Thanks
                  Bharat
                  • 6. Re: Imoprting page to server
                    user11258661
                    Hi,

                    It is referring to a standard AM. So would it not be already present in the server? And yes, I have set the AM definition in the Property palette of the page.
                    • 7. Re: Imoprting page to server
                      user11258661
                      Also, I have tried extending the AM and substituting it and setting the property accordingly and deployed the page.
                      It still gives me a similar error saying "unable to load the Application Module XxfQotQuoteDetailsAMEx". I have moved the XxfQotQuoteDetailsAMEx.xml file and the XxfQotQuoteDetailsAMExImpl.class file to the server.

                      Regards,
                      Shreyas
                      • 8. Re: Imoprting page to server
                        Bharat_Hegde
                        Hi,

                        Try bouncing your server and then test it again.Generally this error comes due to uncompiled jsp files.Bounce Apache Server and then check.
                        You may check Metalink Note: 465812.1

                        Thanks
                        Bharat
                        • 9. Re: Imoprting page to server
                          Bharat_Hegde
                          Hi,

                          No need to extend and substitute the AM.
                          as i understood is you are just refereeing the Standard AM in one of your new custom page.

                          Thanks
                          Bharat
                          • 10. Re: Imoprting page to server
                            user11258661
                            Hi Bharat,

                            Nothing seems to be working. I created a new TestAM. I then created a new page and created a region of type StackLayout. I then imported the region QotHdrShipBillRN from the server and added the contents of this region to my region in the page. Now i tried a couple of things.

                            Scenario 1> I associated the page with the new TestAM and deployed it in the server. When i try to run this, i got an error saying QotHdrShipBillPVOObj was not found. I'm guessing this is because the region i have added in my page has a reference to this VO. But i am unable to locate the VO. This VO has been included in the original QotQuoteDetailsAM though. So i tried scenario 2.

                            Scenario 2> I created a new TestNewAM and extended the original QotQuoteDetailsAM. Now i associated this with my page, substituted the AM and moved to server and bounced it as well. Now when i try to access that page, i get the error
                            "oracle.apps.fnd.framework.OAException: Could not load application module 'xxfc.oracle.apps.qot.quote.header.server.TestQotAM'."


                            I'm not sure where exactly i am going wrong.

                            Regards,
                            Shreyas
                            • 11. Re: Imoprting page to server
                              user11258661
                              Also, is it possible to add a standard region to a custom page?
                              • 12. Re: Imoprting page to server
                                user11258661
                                Hi,

                                Could anyone please help me out with this.

                                Regards,
                                Shreyas
                                • 13. Re: Imoprting page to server
                                  user11258661
                                  Hi,


                                  Could someone tell what impact the following code has.

                                  FND_MO_PRODUCT_INIT_PKG.register_application('XX_CUSTOM','SEED','Y');
                                  COMMIT;

                                  Regards,
                                  Shreyas