Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2752

Java devfiles failed to calculate path to the certificate chain in restricted environment

XMLWordPrintable

    • False
    • False
    • Hide
      = MAVEN_OPTS environment variable in Red Hat Fuse

      Currently, there is a known issue with the *Red Hat Fuse* devfile: command execution overrides the default `MAVEN_OPTS` environment variable.

      .Workaround

      * Edit the devfile as follows: go to `commands:` > `name: 1. Build` > `command:` and remove `MAVEN_OPTS='-Xmx200m' &&`.
      Show
      = MAVEN_OPTS environment variable in Red Hat Fuse Currently, there is a known issue with the *Red Hat Fuse* devfile: command execution overrides the default `MAVEN_OPTS` environment variable. .Workaround * Edit the devfile as follows: go to `commands:` > `name: 1. Build` > `command:` and remove `MAVEN_OPTS='-Xmx200m' &&`.
    • Documented as Known Issue
    • Workaround Exists
    • Hide

      Two possible options:
      1. Add -Djavax.net.ssl.trustStore=/path_to_truststore/truststore.jks -Djavax.net.ssl.trustStorePassword=store_password into MAVEN_OPTS in 1. Build command
      2. Remove MAVEN_OPTS='-Xmx200m' from the 1. Build command

      Show
      Two possible options: 1. Add -Djavax.net.ssl.trustStore=/path_to_truststore/truststore.jks -Djavax.net.ssl.trustStorePassword=store_password into MAVEN_OPTS in 1. Build command 2. Remove MAVEN_OPTS='-Xmx200m' from the 1. Build command
    • Show
      Log into https://codeready-codeready-workspaces.apps.crw-disconnected-v8.crw-qe.com Start an airgapped instance of Red Hat Fuse devfile using the proper configuration based on https://access.redhat.com/documentation/en-us/red_hat_codeready_workspaces/2.14/html/end-user_guide/using-artifact-repositories-in-a-restricted-environment_crw#using-maven-artifact-repositories_crw Start a build.

      http://pastebin.test.redhat.com/1029214

      Red Hat Fuse devfile has too small of a memory allocation in order to properly build the project in airgapped environment.

      We should increase the memory to 800m from 200m

              vsvydenk Valerii Svydenko
              tdancs Tibor Dancs (Inactive)
              Max Leonov Max Leonov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: