Project

General

Profile

Actions

Bug #4886

open

"DatabaseService is already registered" error after configuring Metacat

Added by Jing Tao about 14 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Category:
metacat
Target version:
-
Start date:
03/17/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4886

Description

I installed Metacat from 1.9.2 branch and configured it successfully. Then I typed
the url on the browser:
http://chico1.dyndns.org/knb/metacat?action=read&qformat=knb&docid=tao.14547

I got the error:
javax.servlet.ServletException: Service problem while intializing MetaCat Servlet: ServiceService.registerService - Service: DatabaseService is already registered. Use ServiceService.reregister() to replace the service.
edu.ucsb.nceas.metacat.MetaCatServlet.initSecondHalf(MetaCatServlet.java:490)
edu.ucsb.nceas.metacat.MetaCatServlet.handleGetOrPost(MetaCatServlet.java:696)
edu.ucsb.nceas.metacat.MetaCatServlet.doGet(MetaCatServlet.java:519)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)

I had to restart tomcat and error was gone.

Paul Were sent an email to metacat-dev describing that he got the same error:

I installed metacat 192RC4 and configured it ok.

I am now attempting run the registry.

I get the Registry login page but whenever I try to log in it fails. I get the following error.

knb 20100316-11:49:55: [ERROR]: MetaCatServlet.initSecondHalf - Service problem while initializing MetaCat Servlet: ServiceService.registerService - Service:
DatabaseService is already registered. Use ServiceService.reregister() to replace the service. [edu.ucsb.nceas.metacat.MetaCatServlet]

I am able to login into the admin page with no error as

uid=pwere,o=unaffiliated,dc=ecoinformatics,dc=org

and that is the same login I am using for the registry.

Jing's comment: i guess the "registry" in Paul's email means metacat.

Actions

Also available in: Atom PDF