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 resources.
ie:
Context initCtx = new InitialContext();
Context c = (Context) initCtx.lookup("java:comp/env");
gives
javax.naming.NameNotFoundException: Name [comp/env] is not bound in this
Context. Unable to find [comp].
I'm using a custom ServerEndpointConfig.Configurator.
Everything used to work properly with the old custom tomcat implementation.
Is it an expected behaviour?
thanks,
--fb