Does Synchrony have to be started separately from Confluence?

I am upgrading Confluence from Server 5.8.8 to Data Center 6.2.3 and I'm having trouble with the Synchrony configration. With Server 6.2.3, Synchrony starts of its own accord when bin/ is run. With Data Center 6.2.3 Synchrony seems to need to be started separately. That seems counterintuitive. 

To start Synchrony I have to start a java process from the command line. The command is rather large and unwieldly (see below). Is there a better way to do this? Is there a way to have Confluence start Synchrony automatically? 

$CATALINA_HOME/synchrony]$ java -Xss2048k -Xmx2g -classpath /opt/atlassian/atlassian-confluence-6.2.3/synchrony/synchrony-standalone.jar:/opt/atlassian/atlassian-confluence-6.2.3/synchrony/mysql-connector-java-5.1.11.jar  
synchrony_core sql





1 answer

1 vote
Steven Behnke Community Champion Jul 12, 2017

You could just write your own upstart script that calls both the file as well as your custom command.

I noticed that Synchrony doesn't seem to stop when I issue the file, so I'm considering a similar approach myself.

That seems like the best approach, but I was hoping that Confluence would have a hook or somesuch to do that for me. Considering that the server version starts Synchrony, it seems like a fairly major omission.

Steven Behnke Community Champion Jul 12, 2017

Agreed. You should consider a support case just to get a straight answer from Atlassian. I've had inconsistent experiences with Syncrony. I've spent the vast majority of my time working to get it to proxy correctly and haven't looked deeply into the stop/start scripts yet.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

101 views 1 14
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you