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 7598009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:18:09+00:00 2026-05-30T22:18:09+00:00

I had deployed one application on tomcat 6 on port 80. My application folder

  • 0

I had deployed one application on tomcat 6 on port 80. My application folder name was myApp1 and it is under webapps folder. I can access it with http://localhost/myApp1 I have under web application folder named as myApp2. Also I simply put the myApp2 folder under webapps folder.

But when I try to acces the application 2 with URL http://localhost/myApp2. I get error HTTP 404 saying requested resource myApp2 was nor found. Do i have to make some changes in configuration files also i.e. server.xml? Just for the formation both application are placed as folders not as war file

EDIT To give more info I can see only one entry for myApp1 inside server.xml

 <Host appBase="webapps" autoDeploy="true" deployOnStartup="true" deployXML="true"     name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
  <Context docBase="E:\workspace_4.3\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ROOT" path="" reloadable="false"/>  
<Context docBase="E:\workspace_fip_4.3\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\myApp2" path="/fipWebApp" reloadable="true" source="org.eclipse.jst.jee.server:myApp2"/> 
  </Host>
  • 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-30T22:18:10+00:00Added an answer on May 30, 2026 at 10:18 pm

    That’s the way to do it: You put a WAR file under the Tomcat /webapps file and refer to it in a context that’s the same as the WAR file name.

    Look at the Tomcat logs. You might have gotten a 404 because it didn’t deploy properly.

    You don’t have to edit server.xml; you should never have to do that.

    I’d recommend not creating a folder and dumping files into it. Better to package a proper WAR file and deploy that.

    UPDATE: Read this carefully and follow each and every step to the letter:

    http://docs.oracle.com/javaee/6/tutorial/doc/bnadx.html

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

Sidebar

Related Questions

I have a wicket application which can be deployed in different environments. One of
I've had some problems with a Django application after I deployed it. I use
I have several webapps deployed to production. I have used Tomcat as my servlet
I am developing an application that will be deployed to Amazon EC2. I've had
Had a good search here but can't see anything that gets my mind in
I am writing an application in Qt to be deployed on Symbian S60 platform.
I want to develop some web apps using Google app engine. I had deployed
I have the following issue. I have deployed a smart client application to several
I am currently working on a .Net application which makes HTTP requests to some
Good afternoon one and all, I've recently deployed a website on a remote server,

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.