Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-1813

Unable to download OSM file from https url when deployed to OpenShift

XMLWordPrintable

    • 2020 Week 04-06 (from Jan 20)
    • 3
    • NEW
    • NEW

      The runOnOpenShift.sh accepts a URL for OSM file as a parameter. This file is downloaded by the application during its startup.

      However, the download fails due to following root cause:
      Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so
      at sun.security.pkcs11.Secmod.initialize(Secmod.java:193)
      at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218)

      The probable reason is a base image used for the backend part of the application, in this case:
      fabric8/java-alpine-openjdk8-jre:1.6.3

      Proposed solution: use "ubi8" as a base image.

              jlocker Jiří Locker (Inactive)
              rsynek@redhat.com Radovan Synek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: