Hi everybody. I've got a problem: have to use console instead of eclipse.
The sad story starts like this. My OS is ubuntu-9.04. I installed tomcat-6.0.20 by extracting it from .tar.gz. I put it under the /usr/share/tomcat-6.020 directory.
The next step was to put my tomcat in the eclipse's servers list. So, I went to Preferences > Server > Runtime Environment > Add > Apache Tomcat v6.0 (here I also browsed to my tomcat and changed JVM from JRE to JDK). Finally, I added my server to the Servers list.
So, having everything configured, I started my tomcat from eclipse, opened a browser and asked for localhost. 404 all over sudden. Despite the fact that the eclipse's console has shown no errors.
I would be grateful for any help.
Sorry, I discovered the problem was too trivial and decided that nobody wold take real interest in it.
I had to specify what module I wanted to publish. It could be done in these steps:
- Open your Tomcat settings (double click or F3 on your Tomcat instance in 'Servers' view in Eclipse).
- Click on "modules" tab and pick your module. In my case it was "/usr/share/tomcat-6.020/webapps/ROOT" as docbase and "/" as path.
And than I was able to see my welcome page.
I was prompted how to do this by ChssPly76.