5 Replies Latest reply on Nov 29, 2006 4:49 PM by 442947

    OAException Error FND-INVALID APPLICATION with JDeveloper tutorial

    199193
      Hi

      I´m following Oracle Application Framework Developer’s Guide Release 11.5.10 RUP3. I´m trying to test my setup running the test_fwktutorial.jsp, but when i select the "Hello World" from the list i get the following error

      oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
           at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1142)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
           at OA.jspService(OA.jsp:40)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
           at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
           at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
           at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
           at OA.jspService(OA.jsp:45)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
           at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
           at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
           at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
           at java.lang.Thread.run(Thread.java:534)


      I found the note 313760.1 in metalink which say that there´s a problem with the dbc file and/or with the jdbc libraries below 9.2.0.4. I already installed the 9.2.0.7 files from my database but this error persist

      someone has any idea about it?

      thanks in advance
        • 1. Re: OAException Error FND-INVALID APPLICATION with JDeveloper tutorial
          518974
          The first 3 lines of the Detail#0 of the error stack would help.
          • 2. Re: OAException Error FND-INVALID APPLICATION with JDeveloper tutorial
            199193
            Hi

            next is the complete stack trace

            Exception Details.

            oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
                 at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1142)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
                 at OA.jspService(OA.jsp:40)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
                 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
                 at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
                 at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
                 at OA.jspService(OA.jsp:45)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
                 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
                 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
                 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
                 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
                 at java.lang.Thread.run(Thread.java:534)
            ## Detail 0 ##
            oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
                 at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:3931)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:786)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
                 at OA.jspService(OA.jsp:40)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
                 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
                 at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
                 at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
                 at OA.jspService(OA.jsp:45)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
                 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
                 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
                 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
                 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
                 at java.lang.Thread.run(Thread.java:534)
            oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
                 at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:3931)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:786)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
                 at OA.jspService(OA.jsp:40)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
                 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
                 at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
                 at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
                 at OA.jspService(OA.jsp:45)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
                 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
                 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
                 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
                 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
                 at java.lang.Thread.run(Thread.java:534)
            • 3. Re: OAException Error FND-INVALID APPLICATION with JDeveloper tutorial
              199193
              the firts lines of Detail0 are as follow

              ## Detail 0 ##
              oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
                   at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:3931)
                   at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:786)
                   at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
                   at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
                   at OA.jspService(OA.jsp:40)

              The only thing i found in metalink was the note i previously mentioned, but changing the jdbc files for a newer version or comment a line in the dbc file work for me

              Any idea on how to solve it?

              Regards
              • 4. Re: OAException Error FND-INVALID APPLICATION with JDeveloper tutorial
                510392
                After 5 hours of wasting my time with this error and googling it I found no resolution. THen I noticed that in my function definition there was a slash (/) missing in the WebHTML tab, so it was like OA.jsp? oracle/apps instead of OA.jsp? /oracle/apps.
                This probably wont help who posted it but other careless souls like me in the future :)
                • 5. Re: OAException Error FND-INVALID APPLICATION with JDeveloper tutorial
                  442947
                  Well leading slash is one reason and the second reason will be the product short name. The product shortname is always picked from /.../oracle/apps/<prod short name>/../, if this is an invalid application name which is not present in fnd_applications table then you would get the same error.