Skip to content

Avoid keystore errors by restoring the clean-appdata-on-build behavior#391

Open
mgaffigan wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
mgaffigan:fix/gradle-keystore-modified
Open

Avoid keystore errors by restoring the clean-appdata-on-build behavior#391
mgaffigan wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
mgaffigan:fix/gradle-keystore-modified

Conversation

@mgaffigan

@mgaffigan mgaffigan commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Ant used to clear appdata on build. Without that, the following errors occur when starting the server during development after multiple build-run cycles:

ERROR 2026-07-25 18:02:21.925 [Main Server Thread] com.mirth.connect.server.controllers.DefaultConfigurationController: Could not initialize security settings. java.io.IOException: Keystore was tampered with, or password was incorrect at java.base/com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:882) at java.base/java.security.KeyStore.load(KeyStore.java:1473) at com.mirth.connect.server.controllers.DefaultConfigurationController.initializeSecuritySettings(DefaultConfigurationController.java:1239) at com.mirth.connect.server.Mirth.startup(Mirth.java:221) at com.mirth.connect.server.Mirth.run(Mirth.java:169) Caused by: java.security.UnrecoverableKeyException: Password verification failed ... 5 more

This PR restores the historical behavior.

Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
@github-actions

Copy link
Copy Markdown

Test Results

654 tests  ±0   654 ✅ ±0   3m 25s ⏱️ +43s
108 suites ±0     0 💤 ±0 
108 files   ±0     0 ❌ ±0 

Results for commit 0a8874f. ± Comparison against base commit ac47cc8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants