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

Michael Jumper commented on GUACAMOLE-215:
------------------------------------------

{quote}
First of all, thank you for the answer. I've disabled selinux just to be sure, 
and put a copy of all settings stuff inside /usr/share/tomcat/.guacamole.
{quote}

By "all settings stuff", do you mean the guacamole.properties file, the "lib/" 
directory, and the "extensions/" directory?

{quote}
That didn't work too. I still can't log in.
{quote}

But what do the logs say? Do you see messages showing that the extensions 
loaded? Is GUACAMOLE_HOME still overridden?

{quote}
Maybe I should create user-mapping.xml?
{quote}

No, that has no bearing on MySQL / PostgreSQL functionality.

{quote}
Environment variable in tomcat, isn't that easy as pointing it in tomcat.conf ?
{quote}

It depends. If the CentOS package for Tomcat does things this way, then 
perhaps, but normally you need to specify variables within a special 
"setenv.sh" script within the same directory as the "catalina.sh" script used 
to start/stop Tomcat.

In any case, since this isn't a bug, let's move this discussion back to the 
mailing list. If I remember correctly, you already have a thread there.

> Guacamole client doesn't see the postgres jdbc driver
> -----------------------------------------------------
>
>                 Key: GUACAMOLE-215
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-215
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client
>    Affects Versions: 0.9.11-incubating
>         Environment: CentOS Linux release 7.3.1611 (Core)
> PostgreSQL 9.2.18
> PostgreSQL JDBC 4.2 Driver, 42.0.0
>            Reporter: Mate
>            Priority: Critical
>         Attachments: log.txt
>
>
> I'm trying to setup guacamole with Postgres database authentication. 
> Guacamole client starts but it doesn't allow me to sign in. It seems for me 
> that guacamole client doesn't see the jdbc driver and no matter if I put 
> jdbc.jar in GUACAMOLE_HOME/lib or not, I get the same warnings in the log 
> file. Permissions are set correctly.
> From the logs I see that auth extension is loaded, so it seems that variable 
> from tomcat is loaded correctly but something goes wrong with lib.
> GUACAMOLE_HOME="/etc/guacamole"
> guacamole.properties
> ------------------------------------------------------
> # PostgreSQL properties
> postgresql-hostname: localhost
> postgresql-port: 5432
> postgresql-database: guacamole_db
> postgresql-username: test
> postgresql-password: test



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to