skip to Main Content

Troubleshoot Failed to scan sas.email.rmi.jar During SASServer6_x Start

Typically this error occurs at START of SASServer6_x (SAS CI 360) and often after applying hot fixes and rebuilding SAS web applications as part of the SAS hot fix application.

ERROR:

2022-06-11 17:00:49,459 WARN  (localhost-startStop-1) [org.apache.tomcat.util.scan.StandardJarScanner] Failed to scan [file:/u01/app/sas/config/Lev1/Web/WebAppServer/SASServer6_1/lib/sas.email.rmi.jar] from classloader hierarchy

java.io.FileNotFoundException: /u01/app/sas/config/Lev1/Web/WebAppServer/SASServer6_1/lib/sas.email.rmi.jar (No such file or directory)

               at java.util.zip.ZipFile.open(Native Method)

               at java.util.zip.ZipFile.<init>(ZipFile.java:230)

               at java.util.zip.ZipFile.<init>(ZipFile.java:160)

               at java.util.jar.JarFile.<init>(JarFile.java:168)

               at java.util.jar.JarFile.<init>(JarFile.java:132)

 <sas config path>//Lev1/Web/WebAppServer/SASServer6_1/lib/sas.email.rmi.jar] from classloader hierarchy

Resolution

  1. Login to your middle tier node as the installer ID that performed SAS installation
  2. Stop SASServer6_x
  3. Backup  <sas-config>/LevN/Web/WebApplicationServer/SASServer6_1/conf/catalina.properties as catalina.properties.bkup
  4. In catalina.properties file search for string “StandardJarScanFilter
  1. Add sas.email.rmi.jar to the (long) list of jar files
  2. Start SASServer6_x and monitor your server.log within the SASServer6_x context and once it shows that the server is (look for keyword ‘Server startup in nnnnnn ms’)has started check your SAS web application associated with SASServer6_x
Back To Top