Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-2692

Preinstalled Java is not recognized

XMLWordPrintable

      SUMMARY

      If I have preinstalled Java, it isn't picked up.

      ISSUE TYPE
      • Bug Report
      ANSIBLE VERSION

      2.12.2

      COLLECTION VERSION

      1.2.1

      STEPS TO REPRODUCE
      ---
      - name: Install JWS with ZIPs
        hosts: instance
        vars: 
          jws_version: "{{ ews_version }}"
          jws_systemd_enabled: True
        tasks:
          - name: Import JWS role
            import_role:
              name: "{{ test_collection if test_collection is defined else 'redhat.jws'}}.jws"
      EXPECTED RESULTS

      Service has started. Tomcat is running.

      ACTUAL RESULTS
      /opt/jws-5.6/tomcat/bin/catalina.sh: line 504: /usr/lib/jvm/java/bin/java: No such file or directory\n/opt/jws-5.6/tomcat/bin/catalina.sh: line 504: /usr/lib/jvm/java/bin/java: No such file or directory 

              rpelisse@redhat.com Romain Pelisse
              akrajcik@redhat.com Adam Krajcik
              Adam Krajcik Adam Krajcik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: