Uploaded image for project: 'XNAT'
  1. XNAT
  2. XNAT-1793

New XNAT installation generates error messages in logs on start-up

    XMLWordPrintable

Details

    • Rank:
      0|100e8w:

    Description

      To recreate:

      1. Create a new clean database and fresh XNAT installation.
      2. Run the XNAT setup process, including schema initialization and data population.
      3. Start Tomcat.
      4. Look at the XNAT logs (webapps/xnat/logs) restlet.log and xdat.log.

      There will be errors in both of them. These are sort of disturbing to users because it makes it look like something has gone wrong, when actually everything is fine.

      The root cause here is that the arc spec is not initialized at this point until the administrator has initially logged in and configured the system. This bit of execution just needs to take that into account and not try to access prearchive settings or other arc spec attributes at that point. This is encountered at three points during application initialization as shown in the logs:

      • XNATRestletServlet
      • ArchiveServlet
      • FilterSecurityInterceptorBeanPostProcessor

      Attachments

        1. restlet.log
          1 kB
        2. xdat.log
          5 kB

        Activity

          People

            jrherrick@wustl.edu Rick Herrick
            jrherrick@wustl.edu Rick Herrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 2 hours
                2h