"java.nio.file.NoSuchFileException: default.policy" found in the Tomcat log after OpenJDK upgrade
Issue
- After using "yum/dnf update java-1.8.0-openjdk", the error "java.nio.file.NoSuchFileException: /usr/lib/jvm/java-11-openjdk-
/lib/security/default.policy" is found in the Tomcat log
Environment
- JBoss Web Server (JWS/Tomcat)
- 5
- Tomcat was running during the yum update
- JAVA_HOME is set to the symlink: /usr/lib/jvm/jre-11-openjdk/
- OpenJDK
- 11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.