Re: Performance tuning

Splash Forums Rewrite Users Performance tuning Re: Performance tuning

#22951

pavel.arnost
Participant

Oops, and btw, with ServletContextConfigurationCacheProvider I sometimes get these exceptions:

java.lang.NullPointerException
at java.util.LinkedList$ListItr.next(LinkedList.java:891)
at org.ocpsoft.rewrite.bind.Bindings.enqueuePreOperationSubmissions(Bindings.java:69)
at org.ocpsoft.rewrite.bind.Bindings.enqueueSubmission(Bindings.java:49)
at org.ocpsoft.rewrite.servlet.config.Path.evaluateHttp(Path.java:115)
at org.ocpsoft.rewrite.servlet.config.HttpCondition.evaluate(HttpCondition.java:41)
at org.ocpsoft.rewrite.config.And.evaluate(And.java:55)
at org.ocpsoft.rewrite.servlet.config.rule.Join.evaluate(Join.java:107)
at org.ocpsoft.rewrite.config.And.evaluate(And.java:55)
at org.ocpsoft.rewrite.config.RuleBuilder.evaluate(RuleBuilder.java:101)
at org.ocpsoft.rewrite.config.And.evaluate(And.java:55)
at org.ocpsoft.rewrite.config.RuleBuilder.evaluate(RuleBuilder.java:101)
at org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider.rewriteHttp(DefaultHttpRewriteProvider.java:62)
at org.ocpsoft.rewrite.servlet.http.HttpRewriteProvider.rewrite(HttpRewriteProvider.java:44)
at org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:221)
at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:177)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:953)
at java.util.LinkedList$ListItr.next(LinkedList.java:886)
at org.ocpsoft.rewrite.bind.Bindings.enqueuePreOperationSubmissions(Bindings.java:69)
at org.ocpsoft.rewrite.bind.Bindings.enqueueSubmission(Bindings.java:49)
at org.ocpsoft.rewrite.servlet.config.Path.evaluateHttp(Path.java:115)
at org.ocpsoft.rewrite.servlet.config.HttpCondition.evaluate(HttpCondition.java:41)
at org.ocpsoft.rewrite.config.And.evaluate(And.java:55)
at org.ocpsoft.rewrite.servlet.config.rule.Join.evaluate(Join.java:107)
at org.ocpsoft.rewrite.servlet.config.rule.IJoin$JoinParameter.evaluate(IJoin.java:140)
at org.ocpsoft.rewrite.config.And.evaluate(And.java:55)
at org.ocpsoft.rewrite.config.RuleBuilder.evaluate(RuleBuilder.java:101)
at org.ocpsoft.rewrite.config.And.evaluate(And.java:55)
at org.ocpsoft.rewrite.config.RuleBuilder.evaluate(RuleBuilder.java:101)
at org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider.rewriteHttp(DefaultHttpRewriteProvider.java:62)
at org.ocpsoft.rewrite.servlet.http.HttpRewriteProvider.rewrite(HttpRewriteProvider.java:44)
at org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:221)
at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:177)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1771)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

I use version 1.1.0.Final.