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

  • Home
  • SEARCH
  • 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 4595124
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:55:31+00:00 2026-05-21T22:55:31+00:00

I want to use ant install to deploy (and re-deploy and re-deploy) my webapp

  • 0

I want to use ant install to deploy (and re-deploy and re-deploy) my webapp on a local virtualhost.

It works fine with the default host, but the virtual host does not have the manager webapp. I would like to use similar setup in the live enviromnet (no manager on the given host).

I found a promisiong property:

webapp.virtual.host=...

in some example build.properties, but it does not seem to get the job done. Is it even possible, and how?

  • 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-21T22:55:31+00:00Added an answer on May 21, 2026 at 10:55 pm

    In my answer to one SO post, Christian Semrau commented:

    In standard configuration, Tomcat
    monitors its webapps folder and
    deploys any webapp for which you copy
    a .war file into the webapps folder,
    and undeploys it if you remove the
    .war file, and re-deploys it when you
    change the .war file. But when doing
    that, you don’t get automatic feedback
    about the success of a deployment,
    which you do get from the Tomcat
    Manager.

    That said, your task becomes as easy as copying or removing the file on the remote server.

    Yet, I still don’t understand why having manager app is a problem. You could, for example, only deploy it on different host/port:

    <Connector port="8080" address="main.ip.add.ress">
      ...
      <Context path="/your_main_context">
      ...
      </Context>
    </Connector>
    
    <Connector port="18080" address="another.ip.add.ress">
      ...
      <Context path="/manager">
      ...
      </Context>
    </Connector>
    

    and put relevant firewall restrictions. Or, alternatively, you could place

    <Valve className="org.apache.catalina.valves.RemoteHostValve"
         allow=".*\.mycompany\.com|www\.yourcompany\.com"/>      
    

    inside Context and achieve similar results.

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

Sidebar

Related Questions

I use Ant to build Delphi applications (called from CruiseControl). I want ant to
I want to use the FTP task in ant, and I have found the
I want to use the Web Browser control within an mono application, but when
I come from an ant background, and I'm starting to use msbuild. I want
Does anyone use Phing to deploy PHP applications, and if so how do you
I'm having some trouble figuring out how to install Ant on Cygwin. I want
I use the Ant API for creating tasks programmatically, but I have not yet
I use Ant to build my Android application. I want to be able to
Below is my stored procedure. I want use stored procedure select all row of
I want to use the mouse scrollwheel in my OpenGL GLUT program to zoom

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.