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. p > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature