You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2017/10/25 06:23:00 UTC

[jira] [Commented] (GUACAMOLE-425) guacamole client cannot deploy on sun glassfish

    [ https://issues.apache.org/jira/browse/GUACAMOLE-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218162#comment-16218162 ] 

Michael Jumper commented on GUACAMOLE-425:
------------------------------------------

Is there anything else in the logs prior to this?

It's curious that it should be trying to load the Jetty 8 support for WebSocket, as the availability of the associated classes is specifically tested prior to attempting to do so:

https://github.com/apache/incubator-guacamole-client/blob/1c0ee41d0ecd5bc4a3550804b74b73b901e074c2/guacamole/src/main/java/org/apache/guacamole/tunnel/websocket/jetty8/WebSocketTunnelModule.java#L40-L56

Has your copy of Guacamole been modified in any way?

> guacamole client cannot deploy on sun glassfish
> -----------------------------------------------
>
>                 Key: GUACAMOLE-425
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-425
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client
>    Affects Versions: 0.9.13-incubating
>         Environment: Centos 5
>            Reporter: Umut Yerci
>
> I tried deploy guacamole.war file to sun glassfish it throw a error. Is it possible to deploy it into sun glassfish?
> command;
> {noformat}
> /opt/sun-glassfish/bin/asadmin deploy ~/guacamole.war 
> {noformat}
> error;
> {noformat}
> com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.google.inject.CreationException: Guice creation errors:
> 1) An exception was caught and reported. Message: Unable to load class with name [org.apache.guacamole.tunnel.websocket.jetty8.RestrictedGuacamoleWebSocketTunnelServlet], reason: java.lang.RuntimeException: Unable to load class with name [org.apache.guacamole.tunnel.websocket.jetty8.GuacamoleWebSocketTunnelServlet], reason: java.lang.NoClassDefFoundError: org/eclipse/jetty/websocket/WebSocketServlet
>   at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
> 1 error
> Command deploy failed.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)