Nolio StandardJarScanner exception warning java.io.FileNotFoundException oraclepki.jar
search cancel

Nolio StandardJarScanner exception warning java.io.FileNotFoundException oraclepki.jar

book

Article ID: 267478

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

The following StandardJarScanner exception warning is found in the nolioserver20-stderr.xxxx-xx-xx.log:
 
Jun 06, 2023 12:44:18 PM org.apache.tomcat.util.scan.StandardJarScanner processURLs
WARNING: Failed to scan [file:/C:/Program%20Files/CA/ReleaseAutomationServer/lib/oraclepki.jar] from classloader hierarchy
java.io.FileNotFoundException: C:\Program Files\CA\ReleaseAutomationServer\lib\oraclepki.jar (The system cannot find the file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:228)
at java.util.zip.ZipFile.<init>(ZipFile.java:157)
at java.util.jar.JarFile.<init>(JarFile.java:171)
at java.util.jar.JarFile.<init>(JarFile.java:135)
 
What is causing the error and how can it be avoided.

Environment

Release : 6.8

Resolution

Add oraclepki.jar to the list of jars in the conf folder, catalina.properties file.
The following property should already show a number of jars.
Add the oraclepki.jar to this list.
tomcat.util.scan.StandardJarScanFilter.jarsToSkip=

 

Example on Linux :

1- Edit file <RA_HOME>/conf/catalina.properties

2- add oraclepki.jar in the list jarsToSkip :

tomcat.util.scan.StandardJarScanFilter.jarsToSkip=.....,oraclepki.jar

3- Restart NAC services.