1 Reply Latest reply on Apr 2, 2018 7:01 AM by Deenadayalan

    Facing the issue while connecting the simple ADF application through JMeter

    Ove

      Team,

       

      i created the simple application (1 button in a page). When i accessed the application through browser it is working. But when i connect the application through Jmeter i am facing the below issue.

       

      <Dec 22, 2017 4:21:00 PM IST> <Error> <org.apache.myfaces.trinidadinternal.application.StateManagerImpl> <BEA-000000> <Could not find saved view state for token >

      <Dec 22, 2017 4:21:00 PM IST> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception.

      javax.faces.application.ViewExpiredException: viewId:/Jmeter.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.

      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)

      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)

      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

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

      at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)

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

      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)

      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

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

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

      at java.security.AccessController.doPrivileged(AccessController.java:448)

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

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

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

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

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

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

      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)

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

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

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

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

      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

       

       

      Note: I am using the Jmeter in windows but my weblogic server in AIX. Please help me to sort out this issue.

      Same weblogic and same sample application which is in windows system is working fine,

       

      Regards,

      Ove