Hello

I saw this @Ignored test, but I never worked with these annotation. I don't
think it ever worked...
And I'm pretty sure I didn't break it ;)

regards
Grzegorz Grzybek

wt., 25 cze 2019 o 15:25 Stephan Siano <stephan.si...@sap.com> napisał(a):

> Hi,
>
> I have a question concerning web sockets in Pax-Web:
>
> A colleague of mine is trying to deploy a war on a Pax-Web container that
> contains some annotated websocket server endpoints. This works with other
> web containers but not on Pax web (he is getting a 404 response when he is
> trying to upgrade the connection).
>
> I looked into the Pax-Web integration tests and it turned out that there
> is an integration test for a very similar scenario
> WebSocketIntegrationTest,testWebSocket() which uses the websocket-jsr356
> sample bundle.
>
> However, this test was disabled. Even worse, it did not work anymore after
> the test client was moved from the jetty http client to the apache http
> client (because it currently uses a jetty websocket client which relies on
> the jetty http client).
>
> I changed the test infrastructure to use a jsr356 client (with the
> container specific implementation) and with some hassle around the class
> loading because of the pax-exam infrastructure I could likely get this
> running (at least with tomcat and undertow). However on both containers I
> get a 404 response code when upgrading the connection (as my colleague got
> with his websocket endpoint.
>
> Did this ever work in Pax-Web? I couldn't find any coding that is parsing
> for the ServerEndpoint annotation (only Servlet and other stuff). Or is
> this still unimplemented?
>
> Best regards
> Stephan
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - ops4j@googlegroups.com
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ops4j+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ops4j/1baaf72c-d85f-423f-a9f3-91974ca72ba4%40googlegroups.com
> <https://groups.google.com/d/msgid/ops4j/1baaf72c-d85f-423f-a9f3-91974ca72ba4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ops4j+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/CAAdXmhqeBU3pCz6kuE49LqKeL5Rv%2BKzHXsjW%2B6QHO0iZ_BOVBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to