I’m encountering a permission denied error in Tomcat after enabling security and ensuring that all necessary permissions are configured. Here’s the error message I’m getting:
access: access denied ("java.util.PropertyPermission" "org.jboss.remoting3.remote.message.ack.timeout" "read")
java.lang.Exception: Stack trace
at java.base/java.lang.Thread.dumpStack(Thread.java:1383)
at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:462)
I’ve verified that the required permissions are correctly set in my Tomcat security policy file, and I’ve also confirmed that the property “org.jboss.remoting3.remote.message.ack.timeout” is properly configured in my Tomcat configuration files. Additionally, I’ve debugged the security settings using -Djava.security.debug=access,failure.
Despite these efforts, I’m still encountering this error. I’ve checked my code for any potential issues related to accessing this property, and I’m not seeing any obvious problems there either.
Could someone help me understand what might be causing this error and how I can resolve it? Any insights or suggestions would be greatly appreciated. Thank you!