Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Facing the issue while connecting the simple ADF application through JMeter

OveDec 22 2017 — edited Apr 2 2018

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

Comments

Oleh Tyshchenko
Answer

How about to replace your position values with negative ones (so 1 becomes -1 etc) and change labels to positive with custom y2 axis label converter See APEX 20.1 Sample Charts applications page 46 Event Drops to see how to add a custom converter. You may also need to change these properties as well: valueFormats.y2.converter and valueFormats.label.converter

1.png

Marked as Answer by Keyser · Sep 27 2020
Keyser

crikey, i was hoping it would be something simple like options.y2Invert = true

thank you, I'll have a play using your suggestions, i may have questions

did you alter my chart like that from dev tools console?

Oleh Tyshchenko

Keyser wrote:

did you alter my chart like that from dev tools console?

No, I made a replica

Keyser

and with the facility to download it so that I can copy your code and produce this...

pastedImage_0.png

and for teams that aren't quite as good...

pastedImage_1.png

that's exactly how i wanted it, thank you very much for your help, it's much appreciated!

jozzh

@oleh-tyshchenko It seems as this is not working for bubble chart type.

Any idea what the problem is here?

https://apex.oracle.com/pls/apex/r/jzzh/inverted-y2-axis

Thanks!

Jochen

Oleh Tyshchenko

Sorry, I don't get how the bubble chart is supposed to look like in your case.

jozzh

All good now, it is working also for bubble charts.

I was just missing that I need to work with the x axis and not with y2 or y axis…

https://apex.oracle.com/pls/apex/r/jzzh/inverted-y2-axis

1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 30 2018
Added on Dec 22 2017
1 comment
724 views