docker-openfire icon indicating copy to clipboard operation
docker-openfire copied to clipboard

'com.mysql.jdbc.drive' unable to load

Open shaobodang opened this issue 10 years ago • 1 comments

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?

shaobodang avatar Jan 21 '16 07:01 shaobodang

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.

sameersbn avatar Jan 21 '16 07:01 sameersbn