Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-9178

HealthCheckServlet is trying to create a "filename.properties" with no path

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 7.3.1.4
    • Fix Version/s: EJBCA 7.4.0
    • Component/s: PKI core
    • Labels:
      None
    • Issue discovered during:
      Customer
    • Sprint:
      EJBCA Team Alice - 2020 w20

      Description

      Appliance customers are getting ERROR [org.ejbca.ui.web.pub.HealthCheckServlet] (default task-1) Could not create Maintenance File at: /tmp/maintenance.properties.

      The logfile says that EJBCA is trying to create maintenance.properties in /tmp/, but they way I read the source at repoman initMaintenanceFile it looks like EJCBA is trying to create a "filename.properties" with no path, probably the current working directory.

      The bug is in initMaintenanceFile . It should be new FileOutputStream(maintenanceFile).

       

       

        Attachments

          Activity

            People

            Assignee:
            tomas Tomas Gustavsson
            Reporter:
            pamela Pamela Kiewitt (Inactive)
            Verified by:
            Amin Khorsandi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m