Metacat Configuration
KNB Home Data People Informatics Biocomplexity Education Software

Table of Contents
Build Issues
Ant BUILD FAILED : Multiple HttpServlet Exceptions
Installation Issues
Startup Issues
Metacat doesn't start and Jdk14Logger exception
Configuration Issues
General Application Issues
Unit Testing Issues
Mutliple Tests Fail : 503 Service Temporarily Unavailable
Build Issues
Ant BUILD FAILED : Multiple HttpSevlet Exceptions

During an Ant build of Metacat, you will see many HttpServletRequest, HttpServletResponse and other errors. The compiler will complain that it cannot find a symbol, for example:

[javac] /home/daigle/workspace/metacat/build/src/edu/ucsb/nceas/metacat/MetaCatServlet.java:506: cannot find symbol
[javac] symbol : class HttpServletResponse
[javac] location: class edu.ucsb.nceas.metacat.MetaCatServlet
[javac]     HttpServletResponse response) throws ServletException, IOException {
[javac]     ^

This is usually caused by the build not being able to find native Tomcat libraries. edit your build.properties file in

Installation Issues
Startup Issues
Metacat doesn't start and Jdk14Logger exception

The symptoms are that the metacat service will not show up at all, even though Tomcat is serving, and the following error shows up in the tomcat log (catalina.log):

org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Jdk14Logger' cannot be found or is not useable

This message typically occurs in the tomcat log (catalina.log) when Tomcat has been installed on an Ubuntu/Debian system using apt-get install. And the application is started using:

/etc/init.d/tomcat5.5 start

The problem is that the standard startup scripts reference the common java service, jsvc. Metacat will not run under jsvc. The solutions are:

Configuration Issues
General Application Issues
Unit Testing Issues
Mutliple Tests Fail : 503 Service Temporarily Unavailable

When running "ant test", multiple tests fail. The output files have the error:

503 Service Temporarily Unavailable

This typically means your Metacat server is not running.