Mast,

> i put my war under the ROOT directory.

Er! Wrong answer. The ROOT directory is the directory which contains the
(expanded) ROOT webapp, not a directory where WAR files should be
dropped in order to deply them as the root webapp. If you put a WAR file
in there, Tomcat will ignore it. It would be just like putting it under
a directory called "hjskdfhl" and expecting it to deploy.

> if i put it in the same directory of the ROOT it s deployed (but of
> course it s not good because it create his own directory in the same
> level as ROOT)

If you are trying to deploy a webapp as the "root" webapp (i.e. one that
does not require any context name as part of the URL (like /my-app/...),
then you need to put it in the "deploy" directory -- the same place
where the ROOT directory is, and call it ROOT.war.

You might also want to remove the "ROOT" directory before you try to
deploy that WAR file, as they will undoubtedly conflict.

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to