tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 41746] Default web application can not be changed
Date Tue, 04 Mar 2008 09:01:01 GMT

vibhuti <> changed:

           What    |Removed                     |Added
                 CC|                            |
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #4 from vibhuti <>  2008-03-04 01:01:00 ---

I'm using tomcat6.0.14. I need to make my application the default application
of tomcat. For this purpose, i created context descriptor file in
$CATALINA_HOME/conf/[enginename]/[hostname]. The name of the file is tool.xml
which is same as my application name. The entries in the xml file are:
<Context path="" docBase="../webapps/tool" debug="0" privileged="true">

But when i start tomcat i get the following warning:
WARNING: A docBase D:\tomcat\webapps\..\webapps\tool inside the host appBa
se has been specified, and will be ignored

If i remove docBase entry from tool.xml file, i stop getting this WARNING. But
still the default context(http://localhost:80808/) opens up the tomcat default
page and not my application's page. Defining context descriptors works fine
with tomcat5 but it not working properly with tomcat6.

It would be great if you provide a solution to it. I donot want to rename my
application as ROOT. Defining context entry in server.xml is not recommended. I
have tried defining ROOT.xml inplace of tool.xml but it doesn't work. In that
case it tries to search for ROOT folder in webappps folder. Even defining
context.xml file in META-INF folder of the web application is not working.
Please provide a way which makes things work, its urgent.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message