Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-237

StoRM BackEnd fails during bootstrap because welcome.txt file is not found

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.11.2
    • None
    • Security Level: Public (Visbile by non-authn users.)
    • None

    Description

      StoRM BackEnd fails in loading welcome.txt file at service bootstrap. This is due to an error in StoRM BackEnd configuration files folder lookup.
      Follows a snippet from BackEnd log file:

      11:53:49.435 [main] ERROR it.grid.storm.config.WelcomeMessage - Unable
      to create the welcome message. The welcome.txt file does not exist at
      path /root/etc/welcome.txt
      

      The method used to determine configuration files folder:

      public String namespaceConfigPath() {
        String storm_home = System.getProperty("user.dir");
        String configDir = storm_home + File.separator + "etc";
        return configDir;
      }
      

      Method uses property user.dir that resolves to current directory.
      Have to be modified to return /etc/storm/backend-server

      Attachments

        Activity

          People

            Unassigned Unassigned
            vianello Enrico Vianello
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: