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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: