Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moving end statement to allow values from java_opts to be applied to … #188

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

Tokynet
Copy link

@Tokynet Tokynet commented Jun 26, 2019

…setenv.sh file. These values are needed if you are running confluence behind proxies and to allow the synchrony functionality.

Pull Request (PR) description

The PR fixes the passing of java_opt values in order to populate things like proxy servers or values for supporting synchrony.
If these values are not passed, things like the Market place will NOT work because the application is not aware of the proxy it should be sending traffic to.
Also for synchrony to work, you need to pass the following values:
JAVA_OPTS="-Dsynchrony.proxy.enabled=true

These values should not be bound to the version of confluence.

These values are currently in use in about 3 different Confluence installations of different versions of the application.

This Pull Request (PR) fixes the following issues

No specific issues (reported) but it does allow the following to work:
Atlassian market place
Synchrony

…setenv.sh file. These values are needed if you are running confluence behind proxies and to allow the synchrony functionality.
Copy link

@pillarsdotnet pillarsdotnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the net effect is that

  • Before the change, the JAVA_OPTS setting only applies if version[0] < 5
  • After the change, the JAVA_OPTS setting applies for all versions.

LGTM, but I don't use the product.

@bastelfreak bastelfreak merged commit 9d7eedd into voxpupuli:master Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants