]
Stuart Douglas commented on WFLY-3725:
--------------------------------------
Have you tested this against WF upstream, I think it may have already been fixed.
Unable to deploy dynamic, programmatic JSR-356 Endpoints
---------------------------------------------------------
Key: WFLY-3725
URL:
https://issues.jboss.org/browse/WFLY-3725
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (Undertow)
Affects Versions: 8.1.0.Final
Reporter: Jim Crossley
Assignee: Stuart Douglas
I'm following the example here:
https://github.com/undertow-io/undertow/blob/ceb019c91bd5ff5f219093298be9...
I'm dynamically creating a Servlet instance and deploying it using the the
ServletContext's addServlet method. The servlet init's method is similar to the
above test case, obtaining a ServerContainer and calling its addEndpoint method with a
ServerEndpointConfig$Configurator.
Everything works fine in standalone Undertow 1.0.15.Final, but in WildFly 8.1, I see the
following:
[io.undertow.websockets.jsr] (MSC service thread 1-1) UT026005: Adding programmatic
server endpoint class
immutant.web.internal.servlet.proxy$javax.websocket.Endpoint$ff19274a for path /
And then my configurator never gets called when I attempt to connect. It's as if the
upgrade is never attempted, i.e. like the request protocol is 'http://' instead of
'ws://' but I know it's 'ws://' because the same client works fine
against Undertow standalone.