Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to override synchrony.port in Windows registry?

Milo Chan April 5, 2017

I'm trying to get Collaborative Editing in Confluence 6.1.1 working.

I can't figure out how to set the synchrony.port to something other than 8091. (That port is in use on our system.)

This page explains that for Confluence running as a service on Windows, this should be overridden in the registry. It refers to another page, which explains, somewhat ambiguously, where to put the registry entry.

It says to place synchrony.port property in the entry:

HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name

However, the accompanying screen grab on the page actually points to this entry:

HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name >> Parameters >> Java

It also doesn't state what type of value to create. (string? dword?)

I've tried all possible combinations and nothing seems to work.

1 answer

2 votes
Marcelo Horlle
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 12, 2017

Hey Milo,

If you are running your Synchrony as a Windows Service, let's do it through Command Line, it is easier.

# Open CMD and CD to your Confluence bin directory.

# Run the following command by changing the <SERVICENAME> by your Service Name: tomcat8w //ES//<SERVICENAME>

# You will see that an option pane will be rendered on your screen. Click on the JAVA Tab.

# Add the following argument as a new line inside the Java Options: -Dsynchrony.port=PORTNUMBERHERE

# This will make the service to run on a different port.

Hope it helps! Have a great week ahead!

Milo Chan June 14, 2017

Thank you! I never thought to look for a pure Tomcat solution. This worked perfectly.

Marcelo Horlle
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 14, 2017

Awesome news, Milo!
Have a great week ahead. :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events