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

Pulak,

On 10/14/2009 8:03 AM, pulak wrote:
> 
> 
> 
> SpY0o2 wrote:
>>
>> hello, I've been trying to deploy an application to Tomcat 6.0.18. I would
>> like to make it my default ROOT app (without renaming the app to ROOT), so
>> that I can access my app by entering 
>>
>> http://localhost:8080/ instead of http://localhost:8080/myApps 
>>
>> Thanks.
>>
>>
> 
> The easiest possible thing is to put an element in server.xml file in /conf
> directory.

It would be better to move the webapp's META-INF/context.xml file into
conf/[service]/[hostname]/ROOT.xml. That way, you don't have to modify
server.xml for any reason.

Just remember to put your WAR file /outside/ of any of Tomcat's
auto-deploy webapps directories (such as 'webapps' by default) or your
webapp will be deployed twice.

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

iEYEARECAAYFAkrWFXkACgkQ9CaO5/Lv0PD7mgCfel/jyhKUBnv/gXK1nK94HKVg
SMEAoIbK6LWIXfHwf4rz70ROVdAUWi/a
=AgLA
-----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