Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-16 Thread Mark Thomas
On 15/03/2016 17:18, jimi.hulleg...@svensktnaringsliv.se wrote:
> 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 the trunk version of 
> Tomcat 8 :)
> 
> And... it looks really great! I have performed some JMeter tests now, and 
> here are the results:
> 
> Tomcat 8.0.32
> Average 2500 ms per request.
> 
> Tomcat 8 trunk (revision 81735040)
> Average 360 ms per request
> 
> Tomcat 7.0.68
> Average 290 ms per request
> 
> 
> Test setup:
> - Windows 8
> - JMeter 2.13
> - Tomcat with a custom webapp, on Escenic CMS
> - JMeter running with one thread, and a throttle (Constant Throughput Timer) 
> set to 12 samples per minute (ie 5 seconds between each request)
> - Testing the start page (with lots of content)
> - Tomcat started fresh, and the webapp visited a few times in the browser as 
> a warmup
> - Waited until CPU fan and CPU load settled down before starting the test
> - No other traffic to Tomcat during the test
> - No resource hungry program running except Tomcat and JMeter
> 
> So, all in all, I see a huge improvement with our site. Going from 2500 ms to 
> 360 ms. :)
> As you can see, compared to Tomcat 7 it is still an increase with 70 ms, but 
> for our site that is not a "deal breaker".

Excellent. If need be, I think there is scope to improve that further
but if the results are good enough for you at this point, that work can
wait.

Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: JWT and Tomcat

2016-03-16 Thread Mark Thomas
On 16/03/2016 08:14, l.pe...@senat.fr wrote:
> Hi.
> 
> I am planning to use JSON web tokens (JWT, see https://jwt.io/ and RFC
> 7519 https://tools.ietf.org/html/rfc7519 ).
> 
> Is there any plan to have a "standard" valve implementing this RFC in
> Tomcat ?

No.

Mark


> 
> The best I could find is
> 
> https://github.com/andreacomo/tomcat-jwt-security
> 
> Is there an already available option I missed ?
> 
> Thanks in advance,
> 
> Ludovic
> 
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



JWT and Tomcat

2016-03-16 Thread l.pe...@senat.fr

Hi.

I am planning to use JSON web tokens (JWT, see https://jwt.io/ and RFC 
7519 https://tools.ietf.org/html/rfc7519 ).


Is there any plan to have a "standard" valve implementing this RFC in 
Tomcat ?


The best I could find is

https://github.com/andreacomo/tomcat-jwt-security

Is there an already available option I missed ?

Thanks in advance,

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org