Pid wrote:
On 18/08/2010 11:24, Gautam wrote:
Hi,

I am new to Tomcat world and I am working on Tomcat 6.X on Solaris 10. C

I want your help to figure out way to make an application war deploy
with root context. I.e An app xyz.war is accessible by
http://localhost:8080/ instead of http://localhost/xyz

The current war file is named xyz.war, it's META-INF/context.xml has
entries for jdbc resources etc. At the moment I have been softlinking
webapps/ROOT -> to /some/path/to/war/xyz and using it.

But now due to some change, I need deploy xyz.war directly into webapps/
but with root context and not use this softlinking method.

I tried to add conf/Catalina/localhost/xyz.xml and add path="" but that did not help.

Pls advice.

Rename the file, ROOT.war.  Note: capitals matter.

And there is a detailed explanation here:
http://wiki.apache.org/tomcat/HowTo
#39

That is for http://localhost/
For the ":8080" bit, that is your HTTP <Connector> in conf/server.xml

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

Reply via email to