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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to make MySQL Driver Persistent on Docker Installations

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
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

237 views 4 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you