Not able to start synchrony service on confluence datacenter nodes. I have configured all the variables in start-confluence.sh script.
It is returning below error when I try: ./start-synchrony.sh -fg
Error: Could not find or load main class synchrony.core
when I try ./start-synchrony.sh, it returns the URL and PID. but when checked with ps -ef | grep <PID>. That PID does'nt exists. There are no logs available for this to verify. I'm using Confluence Datacenter 6.5
Appreciate if someone has a solution for this issue.
Just posting the answer here for anyone else, as I had this issue for a solid month and it was just resolved. I also used the Quick Start on AWS.
After a lot of back and forth with Atlassian Support, it appears my issue with a combination of server IP variable and the joining via. AWS tags.
To resolve the issue, I first changed the server IP to be that of my instance's local IP. I then implemented a new AWS tag (synchrony=true), and used that for the cluster joining parameters. One thing I also did (but I am not sure if it would help), was I installed Oracle's JRE vs. OpenJDK.
I hope this helps anyone who may stumble across.
Thank you so much for letting the Community know what worked for you, Brenton.
If OpenJDK was not an issue during your support case it would probably turn into an issue later down the road as OpenJDK is not a supported platform for Confluence:
Confluence will not work with OpenJDK. If you're installing Java yourself, you must use Oracle Java.
When configuring synchrony, you need to indicate 2 variables: DATABASE_DRIVER_PATH and SYNCHRONY_JAR_PATH.
They must indicate to the location of the corresponding JAR files.
Setting up the Synchrony on node1 of Data Center and when execute the start-synchrony.sh, receive the below error message
Error: Could not find or load main class
bash: line 1: -Dsynchrony.context.path=/synchrony: No such file or directory
[2018-06-05 09:07:54] Started Synchrony service with PID:
The required variables are configured properly, but still receive the error.
Any inputs will be helpful.
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
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!
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