Using same deployment.properties

Get help with installation and configuration of OWS. Please post specific bug reports, pull requests, or source code extensions on github.
patryk.trustit
Posts: 1
Joined: 18 Dec 2024, 13:16

Using same deployment.properties

Post by patryk.trustit »

Hi, im trying to configure deplyoment.properties in a way that it will work for all users at the computer but i cant figure out to make customized location fo the file to work.
I have read openwebstart configuration website but still cant fix this.

The catalog <Windows Directory>\Sun\Java\Deployment didnt exist for me so i created it along with deployment.config with below configuration
:
deployment.system.config=C:\Windows\Sun\Java/global.properties
deployment.system.config.mandatory=true

I copied my deployment.properties into global.properties file but whenever i open itw-settings they are not as they should be.

Im using liberica 11 jre if that matters.

I would really appreciate help with this matter.
Thank you!

Janak Mulani
Posts: 1088
Joined: 24 Mar 2020, 13:37

Re: Using same deployment.properties

Post by Janak Mulani »

> I copied my deployment.properties into global.properties file but whenever i open itw-settings they are not as they should be.

You have a C:\Windows\Sun\Java\Deployment\deployment.config file which points to a C:\Windows\Sun\Java\global.properties

The properties in global.properties will be overridden by the properties in <USER_HOME>\.config\icedtea-web\deployment.properties.

If you want to prevent properties in global.properties from being overwritten by the properties in <USER_HOME>\.config\icedtea-web\deployment.properties you will have to lock those properties. For example:

Code: Select all

deployment.properties:

deployment.console.startup.mode=HIDE

global.properties:

deployment.console.startup.mode=SHOW
deployment.console.startup.mode.locked


Post Reply