docker-openfire
docker-openfire copied to clipboard
'com.mysql.jdbc.drive' unable to load
Hi, I am trying to config <jdbcAuthProvider> and <jdUserProvider> to get authentication information from linked mysql database, but the error "org.jivesoftware.openfire.auth.JDBCAuthProvider - Unable to load JDBC driver: null" occurs. Do I miss some path configuration or just need to rebuild the image based on the Dockfile in this repository?
tested without any issues using the following commands:
docker run -itd --name mysql \
-e DB_USER=openfire \
-e DB_PASS=password \
-e DB_NAME=openfiredb \
sameersbn/mysql:latest
docker run -itd --link mysql:mysql \
-p 9090:9090 \
sameersbn/openfire:3.10.3-2
Please make sure you properly configure the database connection parameters in the openfire setup.