Bug #3779
closedA missing $skin.properties.metadata.xml file causes metacat to fail
0%
Description
If a skin lacks a $skin.properties.metadata.xml file, Metacat will throw this error on startup:
MC 15:33:01,688: [ERROR]: Service problem while intializing MetaCat Servlet: Properties problem while initializing PropertyService: Could not find skin property metadata file: /usr/share/tomcat5.5/webapps/registry/style/skins/ebm/ebm.properties.metadata.xml
Trying to visit Metacat gives a 404 in the browser, and a service error in the Tomcat logs:
MC 15:33:49,759: [ERROR]: Service problem while intializing MetaCat Servlet: Service: PropertyService is already registered. Use ServiceService.reregister() to replace the service. [edu.ucsb.nceas.metacat.MetaCatServlet]
Updated by Michael Daigle almost 16 years ago
I had put in code to handle a missing <Skin>.properties file but not the skin.metadata.xml file
That is now caught, and the system will continue to initialize. The offending skin will not be available for configuration.