Disable the “Purge” button in the launch error dialog

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Amendo
Posts: 4
Joined: 24 Sep 2026, 12:58

Disable the “Purge” button in the launch error dialog

Post by Amendo »

Hello,

we would like to suggest an option to disable the “Purge” button in the OpenWebStart launch error dialog. :idea:

In our environment, users sometimes click this button when a JNLP application fails to start, assuming that it is the recommended solution.
For one of our applications, purging the cache also removes the application’s desktop icons. This causes significant confusion, as users may assume that the application has been uninstalled. :shock:

We would still like users and administrators to be able to purge the cache through the OpenWebStart Settings.
The requested restriction should apply only to the “Purge” button in the launch error dialog.

Would it be possible to introduce a configuration property such as:
ows.launcher.error-dialog.purge.enabled=false
This would be particularly useful for centrally managed enterprise environments.

Thank you.

Kind Regards
Amendo

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

Re: Disable the “Purge” button in the launch error dialog

Post by Janak Mulani »

Thanks for your request.

You are suggesting a property "ows.launcher.error-dialog.purge.enabled=false" to be specified in the deployment.properties file to suppress the "Purge" button in the Launch Error Dialog. This can be done. However, to understand your requirement better, may I ask you how you are rolling out OWS to users in your enterprise environment? For example:

Do you have a centrally located deployment.properties file?
or
Are you using the System configuration (https://openwebstart.com/docs/OWSGuide. ... stallation) ?
or
Are you using unattended installation with response.varfile having predefined set of deployment properties (https://openwebstart.com/docs/OWSGuide. ... stallation)?

Amendo
Posts: 4
Joined: 24 Sep 2026, 12:58

Re: Disable the “Purge” button in the launch error dialog

Post by Amendo »

Hi Janak,

we use the deployment.properties file.

Regards,
Amendo

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

Re: Disable the “Purge” button in the launch error dialog

Post by Janak Mulani »

Ok.

Then I guess you do not have a problem if you have to add this new property "ows.launcher.error-dialog.purge.enabled=false" to the deployment.properties on every user's machine when the new version of OWS is rolled out in your company.

Amendo
Posts: 4
Joined: 24 Sep 2026, 12:58

Re: Disable the “Purge” button in the launch error dialog

Post by Amendo »

Yes, of course!

Just to make sure I understand—this option isn't available in the latest version yet; it still needs to be programmed, right?

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

Re: Disable the “Purge” button in the launch error dialog

Post by Janak Mulani »

Also, an alternative solution could be to add a confirmation dialog "Do you really want to clean the OWS cache?" when the user inadvertently presses the "Purge" button in the "Launch Failure" dialog. Which solution do you prefer: hiding the "Purge" button through a property or a confirmation dialog?

Amendo
Posts: 4
Joined: 24 Sep 2026, 12:58

Re: Disable the “Purge” button in the launch error dialog

Post by Amendo »

Hiding would be much better!

I think that if the user clicks “Purge,” they'll most likely confirm the warning without giving it a second thought. :roll:

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

Re: Disable the “Purge” button in the launch error dialog

Post by Janak Mulani »

Thanks for the feedback. We will implement this feature in the next release planned for Nov end.

Post Reply