Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had the same problem. I am using Ubuntu 10.04, and Eclipse 3.5. I was following this tutorial:</p> <pre><code> http://www.vogella.de/articles/EclipseWTP/article.html </code></pre> <p>I tried to create an apache tomcat6 server using </p> <pre><code> Windows -&gt; Preferences -&gt; Server -&gt; Runtime Environments </code></pre> <p>but got your error messages. Others had proposed fixes involving changing permissions </p> <pre><code> http://stackoverflow.com/questions/447289/problem-creating-a-tomcat-6-server- </code></pre> <p>in-eclipse-form-ubuntu</p> <p>That concerned me. I avoided the permission changes and solved it by doing this stuff.</p> <p><strong>First:</strong> I had installed tomcat6 using ubuntu 10.04 software center. I removed it then installed tomcat6 from a direct download from apache's site </p> <pre><code> http://tomcat.apache.org/download-60.cgi. </code></pre> <p>I put it into /home/myname/apache-tomcat-6.0.33.</p> <p>It made it through Windows -> Preferences -> Server -> Runtime Environments just fine.</p> <p><strong>Second</strong>: then doing this:</p> <pre><code> Windows -&gt; Show View -&gt; Servers -&gt; Servers </code></pre> <p>would not list anything at all in the Server window it opened up. After a long time, by chance I right clicked in the Server window which allowed me to do New -> server and select the tomcat6 server</p> <p>That lists it in the server window, then you can start and stop it through that window.</p> <p><strong>Third:</strong> I also added these lines to the end of /etc/bash.bashrc but I'm not sure whether that was needed. I haven't tried to find out for sure.</p> <pre><code>JAVA_HOME="/usr/lib/jvm/java-6-openjdk/" CATALINA_HOME="/home/chuck/apache-tomcat-6.0.33" export JAVA_HOME export CATALINA_HOME PATH=$PATH:$JAVA_HOME export PATH </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload