Hi,
since the upgrade from Confluence 6.8.2 to 6.11.2 (self hosted server edition) the click jacking property does not appear in System Information Overview (/admin/systeminfo.action) within confluence admin site. I upated the service.bat file after upgrade and added the JVM argument the same way i did in 6.8.2. The parameter name did not change according to Atlassian Documentation https://confluence.atlassian.com/doc/recognized-system-properties-190430.html
;-Dconfluence.clickjacking.protection.disable=true
Has somebody an idea how to fix this? Due to my starter 10 persons license i am not allowed to raise a support ticket at Atlassian.
regards and thanks, Mario
Hi Mario,
The property should be modified in in the setenv file unless you're running as a Windows service.
Have a look at the following articles for more information.
Regards,
Shannon
Hi Shannon. Thanks for the feedback. I set it in both files but i am using Windows Service only.
-Dconfluence.clickjacking.protection.disable=true
was set accordingly. It worked in the previous version. Now when i start up the instance the JVM parameter list does not show this argument. There is no mistyping or missing semicolon in my config. It's weird. I also removed the windows service and reinstalled it using the service.bat
hm.. :-(
regards, Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mario,
On the first article I sent, there are two methods to add when running Confluence as a service.
Windows service
There are two ways to configure system properties when you Start Confluence Automatically on Windows as a Service, either via command line or in the Windows Registry
Setting properties for Windows services via command line
To set properties for Windows services via a command line:
- Identify the name of the service that Confluence is installed as in Windows (Go to Control Panel > Administrative Tools > Services):
In the above example, the service name is Confluence121213135538.
- Open the command window (Choose Start > cmd.exe)
cd
to thebin
directory of your Confluence instance and run the following command:tomcat9w //ES//<SERVICENAME>
In the above example, it would be
tomcat9w //ES//Confluence121213135538
The Tomcat version number may be different if you are using an earlier version of Confluence.- Click on the
Java
tab to see the list of current start-up options:- Append any new option on its own new line by adding to the end of the existing Java Options. Refer to the list of parameters in Recognized System Properties.
Setting properties for Windows services via the Windows registry
In some versions of Windows, there is no option to add Java variables to the service. In these cases, you must add the properties by viewing the option list in the registry.
Go to the Registry Editor (Start > regedit.exe).
Find the Services entry: 64bit:HKEY_LOCAL_MACHINE >> SOFTWARE >> WOW6432Node >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name
32bit:HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name
To change existing properties double-click the appropriate value.
To change additional properties, double-click options.
Refer to the list of parameters in Recognized System Properties. Enter each on a separate line.
Can you make sure to try both of those? If you're still having trouble please send us screenshots of the settings so we can ensure it looks correct.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shannon,
you are my hero. It worked according to your first description calling the command tomcat9w //ES/Confluence (i had to change this from /ES//Confluence). Thanks alot for your time and help!
best regards, Mario :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mario,
Happy to be able to provide that information!
Take care, and kind regards.
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.