[jboss-jira] [JBoss JIRA] (WFLY-3725) Unable to deploy dynamic, programmatic JSR-356 Endpoints
Stuart Douglas (JIRA)
issues at jboss.org
Sun Aug 10 19:20:29 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991868#comment-12991868 ]
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/ceb019c91bd5ff5f219093298be93452770c3a70/websockets-jsr/src/test/java/io/undertow/websockets/jsr/test/AddEndpointServlet.java#L39
> 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.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list