Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-6305

java.nio.file.NoSuchFileException warnings related to osdt_cert.jar and osdt_core.jar in Crowd 5.3.5

      Issue Summary

      This is reproducible on Data Center: (yes).

      The Crowd startup logs show java.nio.file.NoSuchFileException while scanning osdt_core.jar and osdt_cert.jar for version 5.3.5

      Steps to Reproduce

      1. Install Crowd 5.3.5
      2. Start Crowd 

      Expected Results

      No warning messages should be seen during startup.

      Actual Results

      The below exception is thrown in the catalina.out log file:

      23-Oct-2024 16:05:26.888 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/sshriramwar/crowd/atlassian-crowd-5.3.5/apache-tomcat/webapps/ROOT]
      23-Oct-2024 16:05:26.897 WARNING [main] org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan [file:/Users/sshriramwar/crowd/atlassian-crowd-5.3.5/apache-tomcat/lib/osdt_core.jar] from classloader hierarchy
              java.io.IOException: java.lang.reflect.InvocationTargetException
             [....]
             Caused by: java.lang.reflect.InvocationTargetException
             [....]
             Caused by: java.nio.file.NoSuchFileException: /Users/sshriramwar/crowd/atlassian-crowd-5.3.5/apache-tomcat/lib/osdt_core.jar
      
      23-Oct-2024 16:05:26.898 WARNING [main] org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan [file:/Users/sshriramwar/crowd/atlassian-crowd-5.3.5/apache-tomcat/lib/osdt_cert.jar] from classloader hierarchy
              java.io.IOException: java.lang.reflect.InvocationTargetException
              [...]
              Caused by: java.lang.reflect.InvocationTargetException
              [...]
              Caused by: java.nio.file.NoSuchFileException: /Users/sshriramwar/crowd/atlassian-crowd-5.3.5/apache-tomcat/lib/osdt_cert.jar
      

      Workaround

      • Copy <crowd-install>/apache-tomcat/lib/osdt_core-12.2.0.1.jar to <crowd-install>/apache-tomcat/lib/osdt_core.jar
      • Copy <crowd-install>/apache-tomcat/lib/osdt_cert-12.2.0.1.jar to <crowd-install>/apache-tomcat/lib/osdt_cert.jar
      • Restart Crowd

            [CWD-6305] java.nio.file.NoSuchFileException warnings related to osdt_cert.jar and osdt_core.jar in Crowd 5.3.5

            No work has yet been logged on this issue.

              Unassigned Unassigned
              188bae873138 Saurabh
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: