glassfish
  1. glassfish
  2. GLASSFISH-12083

Unable to start domain on SDK Web distros

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: v3.0.1
    • Fix Version/s: v3.0.1
    • Component/s: installation
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      12,083

      Description

      I tried the SDK-Web distro and it looks like the installation completes,
      however, when I try to start the domain, I get the following message:
      "CLI302 There are no domains in
      /export/hudson/workspace/sdk_web/glassfishv3/glassfish/domains"

      Below is part of the installation log file:

      [#|2010-05-28T13:09:05.762-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||javaHome:
      /export/hudson/tools/jdk1.6.0_18/jre:javaHome:
      /export/hudson/tools/jdk1.6.0_18/jre|#]
      [#|2010-05-28T13:09:05.763-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||jdkHome:
      ../../jdk:jdkHome: ../../jdk|#]
      [#|2010-05-28T13:09:05.764-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||Creating
      GlassFish domain:Creating GlassFish domain|#]
      [#|2010-05-28T13:09:05.764-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||Admin
      port:4848:Admin port:4848|#]
      [#|2010-05-28T13:09:05.765-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||HTTP
      port:8080:HTTP port:8080|#]
      [#|2010-05-28T13:09:05.765-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||User:admin:User:admin|#]
      [#|2010-05-28T13:09:05.765-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||Existing PATH:
      /export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/usr/local/bin:/bin:/usr/bin:Existing
      PATH:
      /export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/usr/local/bin:/bin:/usr/bin|#]
      [#|2010-05-28T13:09:05.766-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||New PATH:
      ../../jdk/bin:/export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/usr/local/bin:/bin:/usr/bin:New
      PATH:
      ../../jdk/bin:/export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/export/hudson/tools/jdk1.6.0_18/bin:/export/hudson/tools/ant-1.7.1/bin:/export/hudson/tools/maven-2.0.10/bin:/usr/local/bin:/bin:/usr/bin|#]
      [#|2010-05-28T13:09:05.814-07:00|INFO|Install
      Engine|org.openinstaller.provider.conf.InstallationConfigurator||Asadmin output:
      /export/hudson/workspace/sdk_web/glassfishv3/glassfish/bin/asadmin: line 19:
      /../../jdk/bin/java: No such file or directory
      /export/hudson/workspace/sdk_web/glassfishv3/glassfish/bin/asadmin: line 19:
      exec: /../../jdk/bin/java: cannot execute: No such file or directory
      :Asadmin output:
      /export/hudson/workspace/sdk_web/glassfishv3/glassfish/bin/asadmin: line 19:
      /../../jdk/bin/java: No such file or directory
      /export/hudson/workspace/sdk_web/glassfishv3/glassfish/bin/asadmin: line 19:
      exec: /../../jdk/bin/java: cannot execute: No such file or directory

      #]

        Activity

        Hide
        scatari added a comment -

        This could be due to usage of relative paths and current work directory. Assigning to Snjezana.

        Show
        scatari added a comment - This could be due to usage of relative paths and current work directory. Assigning to Snjezana.
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Asadmin output shows an extra slash character in front of relative JDK location
        path which is incorrect - still investigating where that slash comes from...

        Show
        Snjezana Sevo-Zenzerovic added a comment - Asadmin output shows an extra slash character in front of relative JDK location path which is incorrect - still investigating where that slash comes from...
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Issue is fixed in 3.0.1 release by installer configurator workaround - for the
        time being, bundled JDK path will be resolved to absolute value and that value
        written into asenv config file instead of relative value. Only side-effect of
        this is that user will not be able to relocate installation directory into
        different location without updating asenv value, but relocation already requires
        some other manual steps such as cleanup of OSGi cache directory.

        Full fix will require asadmin enhancement so that asadmin scripts can resolve
        and use relative JDK paths defined by AS_JAVA environment variable. Issue 12088
        targeted for 3.1 release has been filed to track this.

        Show
        Snjezana Sevo-Zenzerovic added a comment - Issue is fixed in 3.0.1 release by installer configurator workaround - for the time being, bundled JDK path will be resolved to absolute value and that value written into asenv config file instead of relative value. Only side-effect of this is that user will not be able to relocate installation directory into different location without updating asenv value, but relocation already requires some other manual steps such as cleanup of OSGi cache directory. Full fix will require asadmin enhancement so that asadmin scripts can resolve and use relative JDK paths defined by AS_JAVA environment variable. Issue 12088 targeted for 3.1 release has been filed to track this.
        Hide
        Alex Pineda added a comment -

        Verified fix on SDK build 20 promoted build.

        Show
        Alex Pineda added a comment - Verified fix on SDK build 20 promoted build.

          People

          • Assignee:
            Snjezana Sevo-Zenzerovic
            Reporter:
            Alex Pineda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: