title: Tomcat will not start after deploying sakai from source
body: <p>I've followed the instructions in this URL: <a href="http://pmungai.wordpress.com/sakai-developer-guide/sakai-linux-cheatsheet/" rel="nofollow">http://pmungai.wordpress.com/sakai-developer-guide/sakai-linux-cheatsheet/</a> and was able to compile and deploy sakai, however, after restarting tomcat, it will show me this:</p>
  
  <pre><code>root@ip-10-72-129-39:/opt/sakai# sh /opt/tomcat/bin/startup.sh
  Using CATALINA_BASE:   /opt/tomcat
  Using CATALINA_HOME:   /opt/tomcat
  Using CATALINA_TMPDIR: /opt/tomcat/temp
  Using JRE_HOME:        /usr/lib/jvm/java-1.6.0-openjdk-amd64
  Using CLASSPATH:       /opt/tomcat/bin/bootstrap.jar
  </code></pre>
  
  <p>meaning that tomcat started successfully, but when I try to open the url from a browser, it simply loads forever, waiting for a response. If I try to shutdown tomcat, I get:</p>
  
  <pre><code>root@ip-10-72-129-39:/opt/sakai# sh /opt/tomcat/bin/shutdown.sh
  Using CATALINA_BASE:   /opt/tomcat
  Using CATALINA_HOME:   /opt/tomcat
  Using CATALINA_TMPDIR: /opt/tomcat/temp
  Using JRE_HOME:        /usr/lib/jvm/java-1.6.0-openjdk-amd64
  Using CLASSPATH:       /opt/tomcat/bin/bootstrap.jar
  2012-05-24 15:26:34,357 ERROR main org.apache.catalina.startup.Catalina - Catalina.stop:
  java.net.ConnectException: Connection refused
          at java.net.PlainSocketImpl.socketConnect(Native Method)
          at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
          at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
          at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
          at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
          at java.net.Socket.connect(Socket.java:546)
          at java.net.Socket.connect(Socket.java:495)
          at java.net.Socket.&lt;init&gt;(Socket.java:392)
          at java.net.Socket.&lt;init&gt;(Socket.java:206)
          at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
  </code></pre>
  
  <p>Which happens when tomcat wasn't running to begin with.
  I was able to test that tomcat was running exactly before deploying sakai, and right after, it wasn't able to load a web page.</p>
  
  <p>Does anyone know what is going on?</p>