Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to make MySQL Driver Persistent on Docker Installations

Ajay Furber October 10, 2020

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

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
3.1
TAGS
AUG Leaders

Atlassian Community Events