2 Replies Latest reply: May 15, 2012 9:35 AM by gimbal2 RSS

    access jsf Tags in overlay page

    930116
      I want create a registration form in the overlay page. registration process contains many pages.
      i am getting error in accessing the jsf tags and managed in the overlay page.
      the error is
      java.lang.RuntimeException: Cannot find FacesContext
      at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
      at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
      at jsp_servlet.__changelabelsofenduser._jsp__tag0(__changelabelsofenduser.java:184)
      at jsp_servlet.__changelabelsofenduser._jspService(__changelabelsofenduser.java:138)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      Truncated. see log file for complete stacktrace


      please provide me some solution asap.
      Thanks
        • 1. Re: access jsf Tags in overlay page
          user12041049
          I am also getting these kind of error. working fine in jdeveloper. once we deploy on web logic middleware. first page, error as follows.

          ####<May 15, 2012 2:48:00 PM EDT> <Error> <HTTP> <ovm.kockw.com> <AdminServer> <[ACTIVE] ExecuteThread: '1' for

          queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <be58b8b299c5fe05:-54a4fcdb:13751911424:-8000-

          0000000000000e60> <1337107680411> <WL-101020> <[ServletContext@166353588[app:app module:Bank10 path:/Bank10 spec-

          version:2.5]] Servlet failed with Exception

          java.lang.NullPointerException

          at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1854)

          at jsp_servlet.__welcome_jspx._jspService(__welcome_jspx.java:95)

          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:300)

          at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)

          at java.security.AccessController.doPrivileged(Native Method)

          at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

          at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

          at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)

          at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)

          at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun

          (WebAppServletContext.java:3715)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run

          (WebAppServletContext.java:3681)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

          at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

          at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

          at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
          • 2. Re: access jsf Tags in overlay page
            gimbal2
            user12041049 wrote:
            I am also getting these kind of error. working fine in jdeveloper. once we deploy on web logic middleware. first page, error as follows.
            No you're not, the error is entirely different. You just hijacked an aging thread for your own purposes, when you could just as easily have created a new one.
            working fine in jdeveloper
            How can you "run" an application on an IDE? It works fine on the bundled JEE container, which as far as I know is Weblogic also. For actual assistance, I do advise you to take your question to the Weblogic forum.

            https://forums.oracle.com/forums/category.jspa?categoryID=193