Project

General

Profile

Bug #3779

A missing $skin.properties.metadata.xml file causes metacat to fail

Added by Shaun Walbridge over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
01/26/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3779

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]

History

#1 Updated by Michael Daigle over 11 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.

#2 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 3779

Also available in: Atom PDF