Sorry,  I should have been more clear.  I did remove my existing ROOT
directory and replaced it with my application.

If the path parameter in the Context is not useful,  how does Tomcat
know what url to use for the administration app?  Will renaming the
admin.xml to [somethingElse].xml now display the admin application at
the /[somethingElse] url?  



-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Friday, September 25, 2009 3:10 PM
To: Tomcat Users List
Subject: RE: Using administration url in application

> From: Zeitlin, Michael (USAEO) [mailto:michael.zeit...@usdoj.gov]
> Subject: Using administration url in application
> 
> I have configured a Tomcat 5.5 server on and deployed my
> application onto in the root context.

Exactly how did you do this?  The proper way is to remove the existing
webapps/ROOT directory, and install your webapp in its place.  Any other
procedure is probably wrong.

> I have tried going into my admin.xml file and modifying the 
> Context entry to use a different path:
> <Context path="/admin1"
> docBase="/usr/share/tomcat5.5/server/webapps/admin"
>          debug="0" privileged="true" allowLinking="true">

Pointless, since the path attribute is not allowed here.  You need to
rename admin.xml to [somethingElse].xml if you want to use admin inside
your default webapp.

> I have also tried totally removing the admin.xml file.

This makes me think you have not installed your default webapp properly.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to