Hi,
I have had a fairly long look around but I can not see how to make the MySQL Database Driver persistent on the Crowd Docker Image. I have tried adding a volume mapping of /mysql-connector-java-5.1.49-bin.jar:/opt/atlassian/crowd/apache-tomcat/lib/mysql-connector-java-5.1.49-bin.jar but I can't get the server to start when this is in place, I just get:
Tomcat started.
INFO:root:Generating /opt/atlassian/crowd/apache-tomcat/conf/server.xml from template server.xml.j2
INFO:root:User is currently root. Will downgrade run user to crowd
INFO:root:Running Crowd with command '/bin/su', arguments ['/bin/su', 'crowd', '-c', '/opt/atlassian/crowd/start_crowd.sh -fg']
/opt/atlassian/crowd/start_crowd.sh: 12: [: true: unexpected operator
Existing PID file found during start.
Removing/clearing stale PID file.
I have set the permissions on the file to 666 which should allow whatever the crowd user is to access the file.
Does anybody know what I might be doing wrong here?
Thanks,
Ajay