Project

General

Profile

Revision 4609

Added by daigle about 12 years ago

Add Tomcat ubuntu apt-get error to troubleshooting guide.

View differences:

troubleshooting.html
44 44
<div class="header1">Table of Contents</div>
45 45
<div class="toc">
46 46
  <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>
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
    <div class="toc2"><a href="#Jdk14Logger">Metacat doesn't start and Jdk14Logger exception</a></div> 
50 51
  <div class="toc1"><a href="#ConfigurationIssues">Configuration Issues</a></div>
51 52
  <div class="toc1"><a href="#GeneralApplicationIssues">General Application Issues</a></div>
52 53
  <div class="toc1"><a href="#UnitTestingIssues">Unit Testing Issues</a></div>
......
59 60
  <p>Issue 2 here</p>
60 61
 
61 62
<a name="StartupIssues"></a><div class="header1">Startup Issues</div> 
62

  
63
	<a name="Jdk14Logger"></a><div class="header2">Metacat doesn't start and Jdk14Logger exception</div>
64
	<p>The symptoms are that the metacat service will not show up at all, even though Tomcat 
65
      is serving, and the following error shows up in the tomcat log (catalina.log):</p>
66
      
67
      <div class="code">org.apache.commons.logging.LogConfigurationException: User-specified log
68
      class 'org.apache.commons.logging.impl.Jdk14Logger' cannot be found or is
69
      not useable </div>
70
      
71
      <p>This message typically occurs in the tomcat log (catalina.log) 
72
      when Tomcat has been installed on an Ubuntu/Debian system using apt-get install.  
73
      And the application is started using:
74
        
75
        <div class="code">/etc/init.d/tomcat5.5 start</div>  
76
        
77
      <p>The problem is that the standard startup scripts reference the 
78
      common java service, jsvc.  Metacat will not run under jsvc.  The solutions are:
79
      <ul>
80
      <li>Download the <a href="http://knb.ecoinformatics.org/software/download.html">Metacat binary install package</a>
81
       and replace your /etc/init.d/tomcat5.5 startup script with the one provided in the
82
       package.</li>
83
      <li>Run Tomcat from the Tomcat binary directory: <tomcat_home>/bin/startup.sh and 
84
      <tomcat_home>/bin/shutdown.sh</li>
85
      </ul>
86
      </p>
63 87
<a name="ConfigurationIssues"></a><div class="header1">Configuration Issues</div>
64 88

  
65 89
<a name="GeneralApplicationIssues"></a><div class="header1">General Application Issues</div> 

Also available in: Unified diff