Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-977

Wrong JRE used when starting EAP 5.0 JBoss Server after JBDS installation with JRE v. 1.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 3.0.0.CR2
    • 2.1.1
    • installer
    • None

      When JBDS is installed with JDK v. 1.5. or with default JDK which is v. 1.5 then JBoss AS Server v 5.0 (bundled with JBDS installation) is run with default JRE specified within JBDS and not with JRE specified in Server Runtime Configuration. What means that when JBDS default JRE is v.1.5 user is not able to run JBoss Server v 5.0 because this server needs JRE v. 1.6. Even Server Runtime Configuration is still displaying that JRE v. 1.6 is going to be used.

      Steps to reproduce:

      1. Install JBDS with specified JRE v.1.5 and install also bundled EAP 5.0
      2. Run JBDS
      3. Add JRE v. 1.6 to JBDS Windows > Preferences > Java > Installed JRE's and set is as default JRE
      4. Run defined JBoss EAP Server should run with JRE v 1.6
      5. Change JBDS JRE to v. 1.5 and restart JBoss EAP Server It will start with JRE 1.5 and lot of errors

      Everything works fine when during installation is specified JRE v. 1.6 and JRE v 1.5 is added afterwards.

      There is also small UI issue related to this one:

      1. Install JBDS with specified JRE v.1.5 and install also bundled EAP 5.0
      2. Run JBDS
      3. Open JBoss EAP Server configuration: double click on JBoss EAP Server within JBoss Server View
      4. Open Server Runtime Configuration. In the displayed Dialog will be displayed Error Message such "There is no Java 1.6 Runtime..."
      5. Close the Dialog
      6. Add JRE v 1.6 to JBDS
      7. Open Server Runtime Configuration there will be displayed Error Message "No VM Selected...". See attached file.
      8. Reopen this Dialog and now everything works fine

      If you skip step 4. then everything works fine. There is no Error Message "No VM Selected...".

              nivologd@gmail.com Denis Golovin (Inactive)
              vpakan Vlado Pakan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: