Yeah a redirect page will be my last resort. It has a minor drawback of making the back button a little bit harder to use since it will auto forward. I'll see if I can have the IT group change the domain name to serverip/AppName verses just serverip before doing a redirect.
- John Le -----Original Message----- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 11:55 AM To: Tomcat Users List Subject: RE: ROOT not working > From: John Le [mailto:[EMAIL PROTECTED] > Subject: RE: ROOT not working > > When I asked the vender if I could deploy it to root last > week the rep said he didn't think so, but would ask his > techs. If the webapp has hard-coded embedded absolute URLs, you won't be able to change that behavior. You could deploy a tiny default ROOT webapp that does nothing but redirect to the real one. > If I deploy it to the default location and modify the > conf/server.xml to add in the Context docBase path tag That's a bad idea, if for no other reason than what you found. Another thing to try is to keep the .war file outside of Tomcat's webapps directory, and create the file conf/Catalina/[host]/ROOT.xml containing a <Context> element with a docBase attribute pointing to the absolute location of the .war file. (Do not use a path attribute.) This will override any META-INF/context.xml file that's inside the .war, so you may have to add additional <Resource> elements or whatever if the .war needs them. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]