You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Sam <sa...@servve.com> on 2017/05/17 23:29:05 UTC

Error when trying to use MySQL Authentication in CentOS 7

In my log file I always receive:

May 17 16:33:38 web server: 16:33:38.198 [localhost-startStop-1] INFO 
o.a.g.extension.ExtensionModule - Extension "MySQL Authentication" loaded.
May 17 16:33:38 web server: 16:33:38.198 [localhost-startStop-1] ERROR
o.a.g.extension.ExtensionModule - *Extension
"mysql-connector-java-5.1.42-bin.jar" could not be loaded*: Extension
mysql-connector-java-5.1.42-bin.jar is missing guac-manifest.json
May 17 16:33:38 web server: 16:33:38.424 [localhost-startStop-1] INFO 
o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support...

I have copied the relevant JAR to:

/guacamole/lib/
/guacamole/classpath/
/guacamole/extensions/

(/guacamole is linked at /usr/share/tomcat/.guacamole)

/usr/share/tomcat/lib/
/usr/share/tomcat/lib/
/usr/share/tomcat/webaps/guacamole/WEB-INF/lib

I can't think of anywhere else to copy this JAR. The JAR is the exact name
and version.

Any ideas?



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Error-when-trying-to-use-MySQL-Authentication-in-CentOS-7-tp975.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: Error when trying to use MySQL Authentication in CentOS 7

Posted by Mike Jumper <mi...@guac-dev.org>.
The *only* correct location for that .jar is GUACAMOLE_HOME/lib/, which in
your case is /guacamole/lib. You should remove that .jar from all those
other locations.

As for the error you're seeing, that is due to the .jar being present in
GUACAMOLE_HOME/extensions/. Guacamole tries to load it as an extension, but
aborts because it isn't.

- Mike



On May 17, 2017 16:42, "Sam" <sa...@servve.com> wrote:

In my log file I always receive:

May 17 16:33:38 web server: 16:33:38.198 [localhost-startStop-1] INFO
o.a.g.extension.ExtensionModule - Extension "MySQL Authentication" loaded.
May 17 16:33:38 web server: 16:33:38.198 [localhost-startStop-1] ERROR
o.a.g.extension.ExtensionModule - *Extension
"mysql-connector-java-5.1.42-bin.jar" could not be loaded*: Extension
mysql-connector-java-5.1.42-bin.jar is missing guac-manifest.json
May 17 16:33:38 web server: 16:33:38.424 [localhost-startStop-1] INFO
o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support...

I have copied the relevant JAR to:

/guacamole/lib/
/guacamole/classpath/
/guacamole/extensions/

(/guacamole is linked at /usr/share/tomcat/.guacamole)

/usr/share/tomcat/lib/
/usr/share/tomcat/lib/
/usr/share/tomcat/webaps/guacamole/WEB-INF/lib

I can't think of anywhere else to copy this JAR. The JAR is the exact name
and version.

Any ideas?



--
View this message in context: http://apache-guacamole-
incubating-users.2363388.n4.nabble.com/Error-when-trying-
to-use-MySQL-Authentication-in-CentOS-7-tp975.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at
Nabble.com.