Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577420 - www-apps/guacamole - require dev-java/jdbc-mysql for mysql support
Summary: www-apps/guacamole - require dev-java/jdbc-mysql for mysql support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas Schürch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 20:58 UTC by Denis Tokarev
Modified: 2016-06-10 13:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Tokarev 2016-03-14 20:58:52 UTC
These instructions are outdated:

 * You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/
 * and put the contained .jar file into /etc/guacamole/lib!

The correct way to enable mysql support in tomcat is to require dev-java/jdbc-mysql and to edit /etc/conf.d/tomcat-7 :

TOMCAT_EXTRA_JARS="jdbc-mysql"
Comment 1 Andreas Schürch gentoo-dev 2016-03-16 17:46:34 UTC
Thanks for the catches!
I will do these changes in the next few days...
Did you found anything else besides this and bug #577412?
Comment 2 Denis Tokarev 2016-03-16 17:59:03 UTC
No, just these two.

Then again, tomcat on systemd is still missing completely, so these changes to /etc/conf.d/tomcat-7 are irrelevant there.
What I did to support mysql was to edit /usr/share/tomcat-7/bin/catalina.sh
and add jdbc-mysql to 

CLASSPATH=`java-config --classpath ...

Which is probably the wrong way to do that .. :)
Comment 3 Andreas Schürch gentoo-dev 2016-06-10 13:20:16 UTC
This is now finally done. Sorry for the delay...