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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:24:01+00:00 2026-06-02T18:24:01+00:00

I have setup multiple instances of Tomcat set up and running with a batch

  • 0

I have setup multiple instances of Tomcat set up and running with a batch file. Unfortunately when I logoff Windows the tomcat server stops since the batch file can’t keep running. I would like to set these up as Windows services, but I get the following error:

The Apache service named reported the following error: >>> Warning: DocumentRoot [C:/Tomcat/webapps/pilot] does not exist.

I have the Windows service to execute the following:
C:\app\pilot\bin\tomcat7.exe //RS//TomcatPilot

What am I missing? How can I get this tomcat service to look at c:\app\pilot instead of the default?

  • 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-06-02T18:24:03+00:00Added an answer on June 2, 2026 at 6:24 pm

    Inside your CATALINA_HOME/conf/server.xml there´s a section with the entry
    <Context path="/myApp" docBase="dir">
    Using this entry, you could configure to where your Tomcat Instance will load “myApp” from “dir”.
    You could also configure within the <Host> tag, but you will find more documentation avalilable with the Context tag.
    Hope this can help you.

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

Sidebar

Related Questions

I have multiple instances of tomcat 6 running on the same server (Linux) and
I have a server with multiple Tomcat instances and each contains about 10 application
I have set up multiple targets in a single xml file. I expect all
I have set up several EC2 instances and intend to give multiple users access
I have replication set up between a sql-server 2005 instance and multiple sql-server 2000
We have a simple Webapp running on two Tomcat instances behind Apache (a Tomcat
We have a setup where we have multiple instances of an application - one
I have multiple instances of a thread class running at any given time. I
I have set up multiple heroku instances for the same repository, as outlined here
I have setup multiple SQL Service Broker Queues in a database but have not

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.