Project

General

Profile

Actions

Bug #3779

closed

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

Added by Shaun Walbridge over 15 years ago. Updated over 15 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]

Actions #1

Updated by Michael Daigle over 15 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.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3779

Actions

Also available in: Atom PDF