Re: ForkJoinPool behaviour changed from 9.0.0-M15 to 9.0.0-M17

2017-03-24 Thread Francesco Bassi
2017 17:51:27 GMT+00:00, Francesco Bassi > wrote: > >Hello. > >I have a weird problem that happens only wih tomcat 9.0.0-M17+: > > > >- I need to process a parallel java stream inside a custom ForkJoinPool > > > >If I run the code with 9.0.0-M15, I see that

ForkJoinPool behaviour changed from 9.0.0-M15 to 9.0.0-M17

2017-03-24 Thread Francesco Bassi
Hello. I have a weird problem that happens only wih tomcat 9.0.0-M17+: - I need to process a parallel java stream inside a custom ForkJoinPool If I run the code with 9.0.0-M15, I see that all the threads are properly created using my factory. If I run the code with 9.0.0-M17+, some of the thread

Tomcat 9.0.0M4 (and trunk) issue with Websockets (bug?)

2016-04-04 Thread Francesco Bassi
Hello everybody. Tomcat 9 has a different behaviour than Tomcat 8, during the management of MessageHandler.onMessage: - in Tomcat 8: Thread.currentThread().getContextClassLoader() returns an instance of org.apache.catalina.loader.WebappClassLoader - in Tomcat 9 Thread.currentThread().getCont

Re: Tomcat 8.0.5, .jsp & Java 8 interface static methods

2014-04-07 Thread Francesco Bassi
Sorry!!! Please disregard the whole topic. I forgot to set these parameters. Now everything is working great. Thanks again for your usual great support! On Mon, Apr 7, 2014 at 4:33 PM, Francesco Bassi wrote: > Well... > > I'm using 8.0.3 (and before I used to use 8.0 RC some

Re: Tomcat 8.0.5, .jsp & Java 8 interface static methods

2014-04-07 Thread Francesco Bassi
Well... I'm using 8.0.3 (and before I used to use 8.0 RC something) and the access to the static interface methods are working pretty well... On Mon, Apr 7, 2014 at 4:17 PM, Mark Thomas wrote: > On 07/04/2014 12:25, Francesco Bassi wrote: > > Hello everybody. > > >

Tomcat 8.0.5, .jsp & Java 8 interface static methods

2014-04-07 Thread Francesco Bassi
Hello everybody. Since 8.0.5, it seems that .jsps that include invocations of static interface methods don't work anymore. Here's an example: Test.java; package com.wfb.test; public interface Test { public static String getText() { return "Gotcha!"; } } test.jsp <%String s = com.wfb.test.T

Re: Tomcat 7.0.48-dev WebSockets: NullPointerException on WsServerContainer.unregisterAuthenticatedSession

2013-11-28 Thread Francesco Bassi
Thanks a lot for your prompt support. Definitely a serious reason not to switch to any other application server! On Thu, Nov 28, 2013 at 3:29 PM, Mark Thomas wrote: > On 28/11/2013 14:06, Francesco Bassi wrote: > > Hello everybody. > > > > I have a doubt: > > &

Tomcat 7.0.48-dev WebSockets: NullPointerException on WsServerContainer.unregisterAuthenticatedSession

2013-11-28 Thread Francesco Bassi
Hello everybody. I have a doubt: whenever the HttpSession expires, I get a NullPointerException on WsServerContainer.unregisterAuthenticatedSession in this line: private void unregisterAuthenticatedSession(WsSession wsSession, String httpSessionId) { Set wsSessions = aut

Re: Tomcat 7.0.47 Websocket + JNDI problems

2013-10-28 Thread Francesco Bassi
AM, Mark Thomas wrote: > On 28/10/2013 08:49, Mark Thomas wrote: > > On 27/10/2013 22:41, Konstantin Kolinko wrote: > >> 2013/10/28 Francesco Bassi : > >>> Hello everybody. > >>> > >>> I just downloaded 7.0.47 and updated one web applic

Fwd: Tomcat 7.0.47 Websocket + JNDI problems

2013-10-27 Thread Francesco Bassi
Hello everybody. I just downloaded 7.0.47 and updated one web application that I developed in order to use the new standard JSR 356 websocket implementation. With this new implementation, I noticed that during the processing of incoming websocket events, it's not possible to access the JNDI resou