Hi

Anyone experienced the deployment.properties file getting overwitten in C:\windows\sun\java\deployment folder?

Ive created as usual with .properties file and .config file in folder above

However it gets overwritten at end of install, rather annoying

I can modify location but would rather not.

Version 8u121 x86 and x64
Windows10

Thanks
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answer Chosen by the Author

1
Yes Thanks, I have done that also in past but was using this method as an all-in one method 

Anyway I have now resolved the issue, bit quirky

It seems from my testing that if you set the Property : WEB_JAVA_SECURITY_LEVEL=H in the mst then the install in the post install section decides its going to write a deployment.properties file

Taking out the property and the deployment.properties file doesnt get created by the install 

I'm meaning to check this out more thoroughly when i get a mo but hopefully will help anyone who has this issue


Answered 04/07/2017 by: vscamp
White Belt

Please log in to comment

Answers

0
I always have zipped up the contents of the C:\windows\sun\java\deployment folder with my upgrade packages and copied it over after the install finishes. Hope this helps...

If you are just using a batch:

If not exist "C:\Windows\Sun\Java\Deployment\" Mkdir "C:\Windows\Sun\Java\Deployment\"
If not exist "C:\Windows\Sun\Java\Deployment\exception.sites" xcopy "exception.sites" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "deployment.config" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "deployment.properties" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "DeploymentRuleSet.jar" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "trusted.certs" "C:\Windows\Sun\Java\Deployment\" /y /r

Answered 04/06/2017 by: Desktop Jockey
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity