Project

General

Profile

Actions

Bug #3695

closed

Confiugration throws error if db user is left blank

Added by Michael Daigle over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
12/09/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3695

Description

If the db user is left blank when configuring metacat, it will report that to the browser. Once the user is entered, and the configuration is accepted, if you use the "go to metacat" link, it throws an exception:

javax.servlet.ServletException: SQL problem while intializing MetaCat Servlet: Connection rejected: FATAL: no PostgreSQL user name specified in startup packet.
edu.ucsb.nceas.metacat.MetaCatServlet.initSecondHalf(MetaCatServlet.java:313)
edu.ucsb.nceas.metacat.MetaCatServlet.handleGetOrPost(MetaCatServlet.java:528)
edu.ucsb.nceas.metacat.MetaCatServlet.doGet(MetaCatServlet.java:343)
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)

Actions

Also available in: Atom PDF