https://issues.apache.org/bugzilla/show_bug.cgi?id=41746


vibhuti <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #4 from vibhuti <[EMAIL PROTECTED]>  2008-03-04 01:01:00 ---
Hi

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to