tomcat 5.5.23 CAN have context path different from war name. 2007-08-07 - By Christopher Schultz
Back -- --BEGIN PGP SIGNED MESSAGE-- -- Hash: SHA1
lmk,
lmk wrote: > [Is there a way] to set the context path [to something other than] the > application name[?]
Yes. This has been discussed several times on the list.
> i set the context into the META-INF directory, tomcat copied this the > contaxt into CATALINA_HOME/conf/Enginename/HostName/app_name.xml.
So, you used Tomcat's automatic deployment to deploy a directory or WAR file from "webappps", right?
> but the /mycontextpath is not deployed..I still have the /app_name > context..
If you want to deploy an application to something other than "/warfilename" or "/directoryname", then you need to leave your directory (or WAR file) out of the "webapps" directory. Instead, copy META-INF/context.xml into $CATALINA_HOME/conf/engine/host/desired_app_name.xml and start Tomcat.
- -chris
-- --BEGIN PGP SIGNATURE-- -- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGuISZ9CaO5/Lv0PARAlZ2AKCKRYM0tWNVJLzLghevEgl6qIgkfwCfWJ1a LjD4EA/Er6Rnt3Kz2oER3g8= =gRHM -- --END PGP SIGNATURE-- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|