guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <harry.dev...@faa.gov>
Subject RE: Issue with branding extension on 1.0.0
Date Thu, 28 Mar 2019 17:47:29 GMT
Here’s what I see from when I restarted Tomcat earlier (the “Overlay language resource
‘en’ does not exist” seems suspicious):

Mar 28 13:09:14 armt server: INFO: At least one JAR was scanned for TLDs yet contained no
TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but
no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time
and JSP compilation time.
Mar 28 13:09:14 armt server: 13:09:14.718 [localhost-startStop-1] INFO  o.a.g.environment.LocalEnvironment
- GUACAMOLE_HOME is "/usr/share/tomcat/.guacamole".
Mar 28 13:09:14 armt server: 13:09:14.827 [localhost-startStop-1] INFO  o.a.g.rest.auth.HashTokenSessionMap
- Sessions will expire after 60 minutes of inactivity.
Mar 28 13:09:14 armt server: 13:09:14.971 [localhost-startStop-1] INFO  o.a.g.environment.LocalEnvironment
- GUACAMOLE_HOME is "/usr/share/tomcat/.guacamole".
Mar 28 13:09:16 armt server: 13:09:16.135 [localhost-startStop-1] INFO  o.a.g.extension.ExtensionModule
- Extension "MySQL Authentication" loaded.
Mar 28 13:09:16 armt server: 13:09:16.140 [localhost-startStop-1] INFO  o.a.g.environment.LocalEnvironment
- GUACAMOLE_HOME is "/usr/share/tomcat/.guacamole".
Mar 28 13:09:16 armt server: 13:09:16.400 [localhost-startStop-1] INFO  o.a.g.extension.ExtensionModule
- Extension "LDAP Authentication" loaded.
Mar 28 13:09:16 armt server: 13:09:16.402 [localhost-startStop-1] WARN  o.a.g.e.LanguageResourceService
- Overlay language resource "en" does not exist.
Mar 28 13:09:16 armt server: 13:09:16.411 [localhost-startStop-1] INFO  o.a.g.extension.ExtensionModule
- Extension "TSOSE/ARMT Application Portal" loaded.
Mar 28 13:09:16 armt server: 13:09:16.414 [localhost-startStop-1] INFO  o.a.g.environment.LocalEnvironment
- GUACAMOLE_HOME is "/usr/share/tomcat/.guacamole".
Mar 28 13:09:16 armt server: 13:09:16.535 [localhost-startStop-1] INFO  o.a.g.t.w.WebSocketTunnelModule
- Loading JSR-356 WebSocket support...
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
register
Mar 28 13:09:16 armt server: INFO: Registering org.apache.guacamole.rest.RESTExceptionMapper
as a provider class
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
register
Mar 28 13:09:16 armt server: INFO: Registering org.apache.guacamole.rest.extension.ExtensionRESTService
as a root resource class
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
register
Mar 28 13:09:16 armt server: INFO: Registering org.apache.guacamole.rest.language.LanguageRESTService
as a root resource class
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
register
Mar 28 13:09:16 armt server: INFO: Registering org.apache.guacamole.rest.patch.PatchRESTService
as a root resource class
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
register
Mar 28 13:09:16 armt server: INFO: Registering org.apache.guacamole.rest.auth.TokenRESTService
as a root resource class
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
register
Mar 28 13:09:16 armt server: INFO: Registering org.apache.guacamole.rest.session.SessionRESTService
as a root resource class
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
register
Mar 28 13:09:16 armt server: INFO: Registering org.codehaus.jackson.jaxrs.JacksonJsonProvider
as a provider class
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.server.impl.application.WebApplicationImpl
_initiate
Mar 28 13:09:16 armt server: INFO: Initiating Jersey application, version 'Jersey: 1.17.1
02/28/2013 12:47 PM'
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
getComponentProvider
Mar 28 13:09:16 armt server: INFO: Binding org.apache.guacamole.rest.RESTExceptionMapper to
GuiceManagedComponentProvider with the scope "Singleton"
Mar 28 13:09:16 armt server: Mar 28, 2019 1:09:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory
getComponentProvider

Thanks,
Harry

From: Mike Jumper <mjumper@apache.org>
Sent: Thursday, March 28, 2019 1:35 PM
To: user@guacamole.apache.org
Subject: Re: Issue with branding extension on 1.0.0

Try earlier in those logs, from the point that Tomcat started (not tail -f), or a different
log like catalina.out or the systemd journal. If you have the right file, there will be several
messages from Guacamole even if there aren't any errors, including a message that notes the
location of GUACAMOLE_HOME and messages noting each extension being loaded.

If you do not see at least the above messages, the proper logs must be elsewhere - either
earlier in the file or in a different log entirely.

- Mike


On Thu, Mar 28, 2019 at 10:27 AM <harry.devine@faa.gov<mailto:harry.devine@faa.gov>>
wrote:
Only this, but when I reloaded the page, nothing got added to it (I think what I have below
was from when Tomcat got restarted about 30 minutes ago):

[root@armt.ts.faa.gov<mailto:root@armt.ts.faa.gov> ~/guacbranding]#tail -f /var/log/tomcat/catalina.2019-03-28.log
Mar 28, 2019 1:09:18 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for
this logger for a complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 28, 2019 1:09:18 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/manager has finished
in 229 ms
Mar 28, 2019 1:09:18 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 28, 2019 1:09:18 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 28, 2019 1:09:18 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5933 ms

Thanks,
Harry

From: Mike Jumper <mjumper@apache.org<mailto:mjumper@apache.org>>
Sent: Thursday, March 28, 2019 1:23 PM
To: user@guacamole.apache.org<mailto:user@guacamole.apache.org>
Subject: Re: Issue with branding extension on 1.0.0

Do you see anything in the Tomcat+Guacamole logs?

- Mike

On Thu, Mar 28, 2019, 10:13 <harry.devine@faa.gov<mailto:harry.devine@faa.gov>>
wrote:
I fixed that error in the manifest and restarted everything.  The apache error log shows this
when I load the page:

[Thu Mar 28 13:10:38.853330 2019] [proxy_http:error] [pid 12362] (70008)Partial results are
valid but processing is incomplete: [client 172.31.26.83:55068<http://172.31.26.83:55068>]
AH01110: error reading response, referer: http://armt.ts.faa.gov/

0.9.13 is running on 2 separate servers/installations.  This new server is the only one that
we have 1.0.0 on at the moment, so there’s no chance of anything being crossed (0.9.13 affecting
1.0.0 or vice versa).

Thanks,
Harry
From: Mike Jumper <mjumper@apache.org<mailto:mjumper@apache.org>>
Sent: Thursday, March 28, 2019 11:23 AM
To: user@guacamole.apache.org<mailto:user@guacamole.apache.org>
Subject: Re: Issue with branding extension on 1.0.0

On Thu, Mar 28, 2019 at 7:29 AM <harry.devine@faa.gov<mailto:harry.devine@faa.gov>>
wrote:
...
  "resources" : {
    "resources/ARMTLogo.png" : "ARMTLogo.png"
  },

By the way, I'm not sure if this is related to the problem at hand, but this is incorrect.
The value of each property within "resources" should be the mimetype of that resource. This
should instead be:

  "resources" : {
    "resources/ARMTLogo.png" : "image/png"
  },

See: http://guacamole.apache.org/doc/gug/guacamole-ext.html#ext-manifest

- Mike

Mime
View raw message