The errors are coming from the log4j2 files that are saved in a remote server. I tested it in a Windows machine, and it worked just fine! Thus, the "java.io.FilePermission" error should be related to my Linux RHEL8 system.
I've added this to the JAR's MANIFEST.MF, with no effect:
Code: Select all
Codebase: *.mydomain.edu
Permissions: all-permissions
Code: Select all
grant codeBase "*.mydomain.edu" {
permission java.io.FilePermission "<<ALL FILES>>", "read, write, execute, delete";
};
My question is: how could I solve this in a more robust way? Is there a way to include a custom java.policy file inside the JAR file? Or OpenWebStart requires an extra configuration that I'm missing?
Thanks!