-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

On 3/25/2009 9:24 AM, Ockleford Paul (NHS Connecting for Health) wrote:
> Thanks again, we don't want to use it at all

Then undeploy it:

1. Stop Tomcat
2. Remove the file $CATALINA_HOME/conf/[enginename]/[hostname]/manager.xml

(I would recommend moving it somewhere, in case you want to bring it
back at some point).

You might want to look at any other applications that are deployed by
default. Any .xml files in that directory will deploy other
applications. You should remove anything you don't need.

> browsing to the url reported a tomcat standard
> error page that revealed the tomcat version we are using. That is
> something they will pick up on during the test and is something we
> hadn't noticed before.

Have you changed the "server" attribute of your <Connector>s? If not,
your HTTP headers are likely revealing the Tomcat version you are using.
Is that a big deal?

> How would I undeploy the entire app so that browsing to the url
> /manager/ would not result in a standard error page?

Unless you have deployed your own webapp as the ROOT webapp, you will
get 404 errors that might contain this information. If you *do* have
your webapp deployed as ROOT, then your own <error-page> configuration
from web.xml should be able to take care of 404 errors and show whatever
page you'd rather see.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknKM9IACgkQ9CaO5/Lv0PDs/gCgtUqAgtKhcr1Da6xYmICUrSuv
qKMAnR4MSCfvowvjU4m0kHoxw/ApJN2J
=Ynzv
-----END PGP SIGNATURE-----

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

Reply via email to