Protect java.policy and java.security

Hello forum,

is it possible to protect the files?

If the domino server is updated or a new fixpack is installed your own customisations are overwritten.

Dominoversion V14 on Linux and Windows.

Any thoughts?

Many thanks and have a great weekend.

Hubertus

Any upgrade of versions or FP overwrites these files and also removes extra files for example from jvm/lib/ext and also from html/ckeditor etc like the content css and extra skins etc.

Always a good idea to keep a list of customizations and back up the same before any upgrade. Thankfully the application of HFs does not have this issue.

But I guess this is by design. A major version change should give you a full clean install.

Regards

Look at my post: Keep HCL Domino JVM settings during upgrade? | Angioni's Blog

Will try it next time. Looks good!

Any idea about the ckeditor customization files and addnl files in jvm/lib/?

If you check the file java.security in folder <Domino>\jvm\conf\security (for Domino14), you can see these 3 lines:

policy.url.1=file:${java.home}/conf/security/java.policy
policy.url.2=file:${java.home}/conf/security/java.pol
policy.url.3=file:${user.home}/.java.policy

These lines means that you can put all your custom security policies in a different file and put this file out of <Domino> folder, so the next update will not delete/reset it.

You only have to know the java.home or user.home folder on your server, but you can easily find a little Java script that will let you know ;)

Hope it will help.