Hello Mike,

Adding to above email,

i did bit more analysis and found that we have  NoClassDefFound exception
here.

in *WebSocketSupportLoader.class*, trying to load
*org.glyptodon.guacamole.net.basic.websocket.tomcat.BasicGuacamoleWebSocketTunnelServlet
*using  findClass class method. Now in
*org.glyptodon.guacamole.net.basic.websocket.tomcat.BasicGuacamoleWebSocketTunnelServlet*
class we have one *import org.apache.catalina.websocket.StreamInbound* in
which this class will be present in catalina.jar file of tomcat lib

this class was present in catalina.jar file of tomcat 7 but in tomcat 8 it
is removed. I think in run time the class
*org.apache.catalina.websocket.StreamInbound
*not found which was there during compile time and hence we got
NoClassDefFound exception.

in tomcat7 documentation it is mentioned that (
https://tomcat.apache.org/tomcat-7.0-doc/api/deprecated-list.html#class )

org.apache.catalina.websocket.StreamInbound
<https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/websocket/StreamInbound.html>
*Replaced by the JSR356 WebSocket 1.1 implementation and will be removed in
Tomcat 8.0.x.*


Can you help us how to proceed in this case ? can i recompile the 0.9.2
class files using new jar files websocket1.1 ? if yes how much costly it is
to recompile the code ? where can i get the code of 0.9.2 client?



Thanks,
Vijay


On Sat, Oct 22, 2016 at 11:21 PM, Vijay Kumar Kamannavar <
[email protected]> wrote:

> Hello Mike,
>
> i am trying to deploy gucamole client in tomcat8.5.6 i am getting No
> WebSocket support could be loaded. Only HTTP will be used info message in
> log and also in browser console i am able to see
>
> *WebSocket connection to 'wss://complete_URL_GOES_HERE_with_HTTPS_PORT'
> failed: Error during WebSocket handshake: Unexpected response code: 404 *
>
> the same war file is getting deployed successfully in tomcat 7.0.54
>
> i am having guacamole 0.9.2 server and client.
>
> Any specif reason that guacamole client is incompatible with tomcat8 ?
>
> Thanks,
> Vijay
>
>
>

Reply via email to