Details
-
Bug
-
Resolution: Completed
-
Critical
-
None
-
Rank:0|100e8w:
Description
To recreate:
- Create a new clean database and fresh XNAT installation.
- Run the XNAT setup process, including schema initialization and data population.
- Start Tomcat.
- 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