Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6681361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:34:53+00:00 2026-05-26T04:34:53+00:00

I am using eclipse3.5 and tomcat6 on Ubuntu 11.04. I am trying to create

  • 0

I am using eclipse3.5 and tomcat6 on Ubuntu 11.04.
I am trying to create Dynamic and website project (JSP) on Tomcat6 server but every time its giving me http 404 error (resources not found). I have created a new tomcat6 server and included the project in it, but when I run this project I am coming up with 404(http://localhost:8080/projectname/).
I followed every possible solution available on line. Changing the Catalina variable, installing and reinstalling tomcat6 manually, changing workspace and creating symbolic links and changing the permissions on file according to one of the thread Ubuntu Forums link

Still no result…….
I have given many hours to this only to get zero and frustrating results.

Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:34:53+00:00Added an answer on May 26, 2026 at 4:34 am

    When it come to setup Eclipse, Tomcat and Java there are many things that can go wrong. In this case Ubuntu 11.04 is providing Eclipse 3.5 (Galileo) and Tomcat6 as standard edition through Software Center or Synaptic pkg. or Aptitude. Therefor I was installing Eclipse and Tomcat as they were provided on Ubuntu standard repo. For some reason the Environment variables on Ubuntu were not setting properly so I tried and fixed the variable by placing those variable in system bash file and assigning them values manually:

    vi ~/.bashrc

    Using CATALINA_BASE: /usr/local/tomcat-6 dir

    Using CATALINA_HOME: /usr/local/tomcat-6 dir

    Using JRE_HOME: /usr/lib/j2sdk1.6-sun/

    this is one way to do it or you can export these variable like in cmd line:

    in bash: export JAVA_HOME=/path_to_j2sdk

    (e.g. export JAVA_HOME=/usr/local/java/j2sdk similarly for Catalina variable’s)

    In My case above solution was not working even though I invested couple of days it.
    I decided to purge (remove completely) the existing Tomcat6 and Eclispe3.5 and then installed I followed AskUbuntu and did same with Eclipse3.6.

    1. Download Eclipse3.6 from eclipse.org remember to download J2EE not JAVA for JSP.

    2. tar -xzvf filename.tar.gz

    3. I placed Tomcat7 and eclipse in the same folder /usr/local/java

      sudo mv Directory_Name(Extracted eg.eclipse /usr/local/java)

    4.Check for ROOT Folder in org.eclipse.wst.server.core, Make sure that you replace (or rm -rf old ROOT then cp the new ROOT folder) this ROOT folder created by tomcat6 with new ROOT from tomcat7 because some time ubuntu11.04 do not replace this file by itself and this error will take lot of time to solve so follow these cmd in terminal make sure that you are sudo:

    /home/local/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ROOT

    with /usr/local/java/apache-tomcat-7.0.22-src/webapps/ROOT

    From here you can simply click on “eclipse” executable file in /usr/local/java/eclipse and follow this link it is based on Tomcat5.5 but tomcat7 server setup in eclipse3.6 is exactly similar to this.

    Leave your comments and questions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When trying to run an Eclipse Dynamic Web Project under a Tomcat setup using
Im using Eclipse 3.4, EclipseMe 1.7.9. Im trying to deploy/create package a simple project
I have a new installation of Ubuntu 11.10 server with Tomcat6. I am using
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
I have created a web application using Jersey and Dynamic Web Project of Eclipse.
I can't start eclipse 3.6 helios on ubuntu 10.10 after creating dynamic web project
I made a Dynamic web project in Eclipse using tomcat 7 (and I used
I'm trying to set up a basic hello world project using Eclipse Indigo and
I'm developing on a Ubuntu 8.04 machine using Eclipse Ganymede. I installed Tomcat 5.5
When using Eclipse or NetBeans IDE on a Java project I get to see

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.