Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15284

JBoss EAP Installer too concise errors logging of the embedded server

    XMLWordPrintable

Details

    • Hide
      $ /var/jdks/jdk-11_24/bin/java -version
      java version "11-ea" 2018-09-25
      Java(TM) SE Runtime Environment 18.9 (build 11-ea+24)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+24, mixed mode)
      

      1) start installation JBoss EAP with java 11

      $ /var/jdks/jdk-11_24/bin/java -Duser.home=/tmp/2018-08-20 -jar jboss-eap-7.2.0.Beta-installer.jar
      

      or

      $ /var/jdks/jdk-11_24/bin/java -Duser.home=/tmp/2018-08-20 -jar jboss-eap-7.2.0.Beta-installer.jar -console
      

      2) Select default or any valid settings until reach 'Configure Runtime Environment' section
      3) Select Perform advanced configuration
      4) Select at least one of these options, better sellect all of it

      • Perform advanced configuration
      • Configure server port bindings
      • Configure logging levels
      • Install JSF implementation

      5) Select or use default or any valid settings until reach 'Starting processing'
      6) Processing Failed

      Show
      $ /var/jdks/jdk-11_24/bin/java -version java version "11-ea" 2018-09-25 Java(TM) SE Runtime Environment 18.9 (build 11-ea+24) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+24, mixed mode) 1) start installation JBoss EAP with java 11 $ /var/jdks/jdk-11_24/bin/java -Duser.home=/tmp/2018-08-20 -jar jboss-eap-7.2.0.Beta-installer.jar or $ /var/jdks/jdk-11_24/bin/java -Duser.home=/tmp/2018-08-20 -jar jboss-eap-7.2.0.Beta-installer.jar -console 2) Select default or any valid settings until reach 'Configure Runtime Environment' section 3) Select Perform advanced configuration 4) Select at least one of these options, better sellect all of it Perform advanced configuration Configure server port bindings Configure logging levels Install JSF implementation 5) Select or use default or any valid settings until reach 'Starting processing' 6) Processing Failed

    Description

      While trying to install JBoss EAP 7.2.0.Beta with java 11 processing after performing advanced configuration failed.
      In both mode, console and GUI.
      However, it is unclear for the reason why the embedded server did not start.

      java.util.concurrent.ExecutionException: org.jboss.as.cli.CommandLineException: Cannot start embedded server.
      

      After changes in java 11 and this error can Installer inform about needed include java.ee modules.

      $ /var/jdks/jdk-11_24/bin/java --add-modules java.se -Duser.home=/tmp/2018-08-20 -jar jboss-eap-7.2.0.Beta-installer.jar
      

      Add solution helper for user

      Please add detection java9+ in the case embedded server can't start then show in log/dialog/cli message with run command with add '--add-modules java.se' for easy re-run installation with correct parameters. Before the Installation start.

      Attachments

        Issue Links

          Activity

            People

              thauser_jira Thomas Hauser (Inactive)
              vmarek@redhat.com Vratislav Marek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: