Issue
We are facing below error
[install4j] Creating media file 'Windows':
[install4j] enter code here`Created media file output directory
[install4j] Dec 18, 2021 2:53:08 PM java.util.prefs.FileSystemPreferences$1 run
[install4j] INFO: Created user preferences directory.
[install4j] Dec 18, 2021 2:53:08 PM java.util.prefs.FileSystemPreferences$2 run
[install4j] INFO: Created system preferences directory in java.home.
[install4j] install4j: compilation failed. Reason: error during counter signing
This issue is only when I trigger multiple CI jenkins jobs(min of 7) at a time and have tried below options in jenkinsfile
-J-Dinstall4j.counterSignRetry=60
-J-Dinstall4j.connectTimeout=20000
-J-Dinstall4j.readTimeout=20000
Solution
Finally singer intermittent connectivity issue got resolved with JVM option -Dinstall4j.connectTimeout=25000 and we are able run 15 jobs at a time without failure
Answered By - user4569959
Answer Checked By - Willingham (JavaFixing Volunteer)