RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-15 Thread jimi.hullegard
On Friday, March 11, 2016 10:03 PM, ma...@apache.org wrote: > > Monday works. I might try experimenting with some ideas between now and then > anyway. Hi again, A bit shorter reply this time, because of time shortage. I preferred to focus the little time I managed to "break free" on testing th

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-11 Thread jimi.hullegard
On Friday, March 11, 2016 6:07 PM, ma...@apache.org wrote: > > And a debug log message is unlikely to tell you any more than the thread dump > did. That depends on what is actually being logged. If the class name is printed, then one could immediately figure out the name of the EL variable (li

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-11 Thread jimi.hullegard
On Thursday, March 10, 2016 10:44 PM, ma...@apache.org wrote: > > We'll have to agree to disagree on that one. If you are concerned > about a performance issue then you need to know where to look to > enable debug logging. A profiler will tell you where to look and > at that point you don't need t

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread jimi.hullegard
On Thursday, March 10, 2016 11:20 AM, ma...@apache.org wrote: > > > 3. Why is the problem not limited to the first request for a jsp page? > > Because EL imports may be dynamic so the EL has to be evaluated on execution. I'm not really sure I follow you now. Can you explain what you mean with

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread jimi.hullegard
On Wednesday, March 9, 2016 8:22 PM, ma...@apache.org wrote: > It is a known 'feature' of the new EL requirements added in 3.0. The EL > parser can't differentiate > between an attribute without a scope and a reference to an static field. > > See https://bz.apache.org/bugzilla/show_bug.cgi?id=57

Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-09 Thread jimi.hullegard
Hi, We recently upgraded Tomcat from version 7 to version 8 (8.0.32 to be precise), and we immediately noticed a deterioration in the performance. Page load time increased from about 500ms to 2500-5000 ms. One thing we noticed when we looked at some thread dumps, is that quite often a ClassNot

RE: Detect shutdown when in common/global classpath?

2015-12-02 Thread jimi.hullegard
Mark wrote: > On 30/11/2015 15:51, jimi.hulleg...@svensktnaringsliv.se wrote: > > Hi, > > > > When running code in a webapp, I know it is possible to detect an undeploy > > of the webapp, or shutdown of Tomcat, using a ServletContextListener. But > > how about code running outside the webapp? >

Detect shutdown when in common/global classpath?

2015-11-30 Thread jimi.hullegard
Hi, When running code in a webapp, I know it is possible to detect an undeploy of the webapp, or shutdown of Tomcat, using a ServletContextListener. But how about code running outside the webapp? The background for this is that we have written a plugin to a CMS, and this plugin exists in the c