guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Underwood <>
Subject RE: Assistance on creating jar file from directory
Date Sat, 21 Oct 2017 15:05:38 GMT
The manifest in the extension jar specifies a version of guacamole it's compatible with. That
may be optional; I would have to look it up.
My logs are in the "tomcat home"/logs folder. I believe the info I cared about was in a localhost
log in that folder. This is also configurable through tomcat itself. It's been a while but
I think that goes in server.conf.

Sent from my Android phone using TouchDown (

-----Original Message-----
From: Charles Mccrea []
Received: Saturday, 21 Oct 2017, 10:54AM
To: []
Subject: Re: Assistance on creating jar file from directory

Hello Ryan,

Thanks very much for this reply.

Regarding your comment on the guacamole version.  I don't understand what compatible version
means?  Can you expand more on what my .jar file needs to have with regards to Guacamole version

I will try increasing the log level.  On your system, where is the location of your catalina.out
logfile?  Mine is in /var/log/tomcat/.  Also, my catalina.out logfile has one line in it...just
the version of tomcat.  Is this because I haven't enabled more logging yet?

Thank you.

On Sat, Oct 21, 2017 at 10:29 AM, Ryan Underwood <<>>
I used that exact example and it works for me.
I'm not sure if you've confirmed that the extension specifies a compatible version of guacamole,
and that it matches your version...
I increased the logging level on mine following these instructions:
(logback file goes in your guacamole home). If that fails to increase logging then there's
a "home" problem. That overall made it easier to debug within the web app, though not as easy
as the eclipse tomcat plugin!

Sent from my Android phone using TouchDown (<>)

-----Original Message-----
From: Charles Mccrea [<>]
Received: Saturday, 21 Oct 2017, 10:05AM
Subject: Re: Assistance on creating jar file from directory

Hi Nick,

Still working on this issue but I'm still not seeing results.  Here's the scoop:

Using this post -,
I'm able to confirm a lot of things.

  *   I've looked into my /etc/passwd file and confirmed that my tomcat home is /usr/share/tomcat/.guacamole/.
  *   Inside this directory I have my file and the extensions folder.
  *   I didn't have my GUACAMOLE_HOME environement variable set so I've done this now using
an .sh script.  Confirmed on reboot that my environment variable is set properly.
  *   Inside this /usr/share/tomcat/.guacamole/extensions folder I have the guacamole-auth-jdbc-mysql-0.9.9.jar
file.  At the bottom of that forum post I'm following there is an example extension .jar file.
 I've used this to see if I can make changes to my login screen so I've copied this .jar file
into my extensions folder so it sits beside the guacamole-auth-jdbc-mysql-0.9.9.jar file.
 I'm assuming both files can reside in the same folder without issue.
  *   I then restarted tomcat and guacd services.  Cleared my history on both my Chrome and
Firefox browsers and loaded up my Guacamole site.  Nothing has changed.
  *   I then restarted my Guacamole server.  Again no changes on my login page.

I'm at a loss here as to why this isn't working?  I did make sure that the .jar file of this
customize extension has the guac-manifest.json in the root of the directory (and not in a

I have no idea what log files to look into to confirm if my extension is even seen.  But I'm
assuming it's not recognized.  Where should I look to confirm this?

Any other ideas on what I need to do?

Thank you.

On Thu, Oct 19, 2017 at 9:48 PM, Nick Couchman <<>>
On Thu, Oct 19, 2017 at 5:27 PM, Charles Mccrea <<>>
Hello Nick and thank you for this explanation.

I've searched my guacamole server for a location.  I found two:


It would appear that one is a pointer to the other so basically I have found my

Looking within my file I do not find an entry for GUACAMOLE_HOME.  Should
this environment variable be there?

  *   Will defining a Guacamole_home environment variable then tell guacamole where to find
my new extension .jar file?
  *   And my Guacamole does work as of now in that I can login and use Guacamole.  So how
does my Guacamole currently work if it doesn't know where the Guacamole home is?

I think all you need to do is create the extensions directory inside the /etc/guacamole and/or
/usr/share/tomcat/.guacamole directory, then drop your JAR file in there and restart Tomcat
or redeploy the web app.


View raw message