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

"Not Found" error when start java maven workspace

XMLWordPrintable

      There was Not Found error on start of java Maven workspace:

      The same result with Node JS workspace:

      Default devfile:

      metadata:
        name: jmaven
      projects:
        - name: console-java-simple
          source:
            location: 'https://github.com/che-samples/console-java-simple'
            type: git
      components:
        - id: redhat/java8/latest
          type: chePlugin
        - mountSources: true
          memoryLimit: 512Mi
          type: dockerimage
          volumes:
            - name: m2
              containerPath: /home/jboss/.m2
          image: registry.redhat.io/codeready-workspaces/stacks-java-rhel8
          alias: maven
          env:
            - value: /home/jboss/.m2
              name: MAVEN_CONFIG
            - value: >-
                -XX:MaxRAMPercentage=50.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10
                -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4
                -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
                -Xms20m -Djava.security.egd=file:/dev/./urandom
                -Duser.home=/home/jboss
              name: JAVA_OPTS
            - value: $(JAVA_OPTS)
              name: MAVEN_OPTS
      apiVersion: 1.0.0
      commands:
        - name: maven build
          actions:
            - workdir: '${CHE_PROJECTS_ROOT}/console-java-simple'
              type: exec
              command: mvn clean install
              component: maven
        - name: maven build and run
          actions:
            - workdir: '${CHE_PROJECTS_ROOT}/console-java-simple'
              type: exec
              command: mvn clean install && java -jar ./target/*.jar
              component: maven
        - name: dependency analysis
          actions:
            - type: exec
              command: >-
                ${HOME}/stack-analysis.sh -f
                ${CHE_PROJECTS_ROOT}/console-java-simple/pom.xml -p
                ${CHE_PROJECTS_ROOT}/console-java-simple
              component: maven
      

        1. crw2-dashboard-devfile.png
          crw2-dashboard-devfile.png
          163 kB
        2. crw2-fail-start-ws.png
          crw2-fail-start-ws.png
          134 kB
        3. crw2-nodejs-ws start-failed.png
          crw2-nodejs-ws start-failed.png
          137 kB
        4. crw2-ws-failed-start-edit-cr-yaml.png
          crw2-ws-failed-start-edit-cr-yaml.png
          136 kB
        5. ocp4-1-crw2-ide-absent.png
          ocp4-1-crw2-ide-absent.png
          74 kB
        6. ocp4-1-crw2-start-ws.png
          ocp4-1-crw2-start-ws.png
          200 kB
        7. ocp-3-11-crw2-ws-status-404.png
          ocp-3-11-crw2-ws-status-404.png
          84 kB
        8. ocp-3-11-crw2-ws-start.png
          ocp-3-11-crw2-ws-start.png
          190 kB
        9. ocp4-2-crw2-ide-absent.png
          ocp4-2-crw2-ide-absent.png
          84 kB
        10. ocp4-2-crw2-start-ws.png
          ocp4-2-crw2-start-ws.png
          195 kB
        11. ocp4-2-crw2-dashboard.png
          ocp4-2-crw2-dashboard.png
          100 kB
        12. ocp3-11-crw2-failed-ws.png
          ocp3-11-crw2-failed-ws.png
          73 kB
        13. screenshot-1.png
          screenshot-1.png
          169 kB

              nickboldt Nick Boldt
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: