Project

General

Profile

« Previous | Next » 

Revision 4649

Added by daigle almost 16 years ago

Add unit testing and build issues.

View differences:

troubleshooting.html
43 43

  
44 44
<div class="header1">Table of Contents</div>
45 45
<div class="toc">
46
  <div class="toc1"><a href="#BuildIssues">Build Issues</a></div>
47
    <div class="toc2"><a href="#HttpServletExceptions">Ant BUILD FAILED : Multiple HttpServlet Exceptions</a></div> 
46 48
  <div class="toc1"><a href="#InstallationIssues">Installation Issues</a></div>
47
    <div class="toc2"><a href="#Issue1">Issue 1</a></div> 
48
    <div class="toc2"><a href="#Issue2">Issue 2</a></div>
49 49
  <div class="toc1"><a href="#StartupIssues">Startup Issues</a></div>
50 50
    <div class="toc2"><a href="#Jdk14Logger">Metacat doesn't start and Jdk14Logger exception</a></div> 
51 51
  <div class="toc1"><a href="#ConfigurationIssues">Configuration Issues</a></div>
52 52
  <div class="toc1"><a href="#GeneralApplicationIssues">General Application Issues</a></div>
53 53
  <div class="toc1"><a href="#UnitTestingIssues">Unit Testing Issues</a></div>
54
    <div class="toc2"><a href="#503ServiceTemporarilyUnavailable">Mutliple Tests Fail : 503 Service Temporarily Unavailable</a></div>
54 55
</div> 
55 56

  
57
<a name="BuildIssues"></a><div class="header1">Build Issues</div>
58
  <a name="HttpServletExceptions"></a><div class="header2">Ant BUILD FAILED : Multiple HttpSevlet Exceptions</div>
59
    <p>During an Ant build of Metacat, you will see many HttpServletRequest, HttpServletResponse and
60
    other errors.  The compiler will complain that it cannot find a symbol, for example:</p>
61
      <div class="code">
62
      [javac] /home/daigle/workspace/metacat/build/src/edu/ucsb/nceas/metacat/MetaCatServlet.java:506: cannot find symbol<br>
63
      [javac] symbol  : class HttpServletResponse<br>
64
      [javac] location: class edu.ucsb.nceas.metacat.MetaCatServlet<br>
65
      [javac] &nbsp;&nbsp;&nbsp;&nbsp;HttpServletResponse response) throws ServletException, IOException {<br>
66
      [javac] &nbsp;&nbsp;&nbsp;&nbsp;^<br>
67
      </div>
68
      
69
    <p>This is usually caused by the build not being able to find native Tomcat libraries. edit your
70
    build.properties file in  
71
      
56 72
<a name="InstallationIssues"></a><div class="header1">Installation Issues</div>
57
<a name="Issue1"></a><div class="header2">Issue 1</div>
58
  <p>Issue 1 here</p>
59
<a name="Issue2"></a><div class="header2">Issue 2</div>
60
  <p>Issue 2 here</p>
61 73
 
62 74
<a name="StartupIssues"></a><div class="header1">Startup Issues</div> 
63 75
	<a name="Jdk14Logger"></a><div class="header2">Metacat doesn't start and Jdk14Logger exception</div>
......
89 101
<a name="GeneralApplicationIssues"></a><div class="header1">General Application Issues</div> 
90 102

  
91 103
<a name="UnitTestingIssues"></a><div class="header1">Unit Testing Issues</div>
92
  
104
  <a name="503ServiceTemporarilyUnavailable"></a><div class="header2">Mutliple Tests Fail : 503 Service Temporarily Unavailable</div>
105
    <p>When running "ant test", multiple tests fail.  The output files have the error: </p>
106
      <div class="code">503 Service Temporarily Unavailable</div>
107
    <p>This typically means your Metacat server is not running.</p>
108
    
109
    <br>
110
    
111
  </body>
112
</html>

Also available in: Unified diff