Hello,
after the update I came further. The server now send the upgrade protocol 
response.
But jwebsocket doesnt understand the response correctly.
I posted on their forum 
(http://enapso.org/jwsForum219/posts/list/0/15608.page#16783) and they say, 
that they have to develop something to support the native tomcat websocket 
implementation.

So I will wait for that.
Or can you recommend a working java client library?

Bye,
Christian

-----Ursprüngliche Nachricht-----
Von: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
Gesendet: Donnerstag, 12. April 2012 16:08
An: Tomcat Developers List
Betreff: Re: working websocket-client in java

2012/4/12 Finckler, Christian <christian.finck...@ottogroup.com>:
> Hello,
> I manage to configure the chat websocket servlet in tomcat and tried to call 
> in with a java client.
> As websocket-library I tried jwebsocket(http://jwebsocket.org/) and 
> weberknecht(http://code.google.com/p/weberknecht/)
>
> But both have connection problems. In both cases the server said, the request 
> is syntactically incorrect.
>
> Perhaps somebody of you already has a working javaclient implementation for 
> testing purposes and could give me the code for trying out.

1. Try to compile the current tc7.0.x from svn. There was a fix

      <fix>
        <bug>53021</bug>: Correct WebSocket protocol version detection. (pero)
      </fix>

2. Debugging Tomcat:
http://wiki.apache.org/tomcat/FAQ/Developing#Debugging

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to