You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2020/02/06 02:32:00 UTC

[jira] [Commented] (GUACAMOLE-948) Blank logon screen: Possible database driver issue

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

Mike Jumper commented on GUACAMOLE-948:
---------------------------------------

Please don't open a bug report if you simply have a question about Guacamole. Use the user@guacamole.apache.org mailing list instead:

http://guacamole.apache.org/support/#mailing-lists

Thanks.

> Blank logon screen: Possible database driver issue
> --------------------------------------------------
>
>                 Key: GUACAMOLE-948
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-948
>             Project: Guacamole
>          Issue Type: Task
>            Reporter: Seth Atangcho
>            Priority: Major
>
> I recently did a fresh install of Guacamole 1.0.0 on a CentOS 7 server and I was able to successfully logon the first couple of times. However, after a while, I would get a blank logon screen and get this error message in the logs:
>  
> {code:java}
> 13:23:26.728 [http-bio-8080-exec-8] ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:
> Error querying database. Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver The error may exist in org/apache/guacamole/auth/jdbc/user/UserMapper.xml The error may involve org.apache.guacamole.auth.jdbc.user.UserMapper.selectOne The error occurred while executing a query Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver   {code}
> I have the driver in the /lib directory
> {code:java}
> > cd /usr/share/tomcat/.guacamole/lib/
>  :lib -> ls
>  mysql-connector-java-8.0.19 mysql-connector-java-8.0.19(1).tar.gz mysql-connector-java-8.0.19.jar{code}
> I recently installed a platform independent version of the driver from MySQL's dev website, which temporarily fixed the problem.
> Need help ASAP. Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)