Chuck, thank you for your advice and patience :)

I have found context element nested inside host element on some tutorial long 
time ago and that where all the troubles started (It was probably meant for 
"pre 5" Tomcat). Now, following your advice, I have chosen the ROOT approach to 
be "perfectly legal".

My last problem is the possibility to make the localhost:8080 (used for mod_jk) 
also available under localhost:8080/app (as internal endpoints)
Is there any legal/simple way to accomplish this?

Otherwise I will have put my application back to localhost:8080/app
And try to reconfigure mod_jk so that it will show it under mydomain.com 
instead of mydomain.com/app

Thanks, 
Maciej

----------------------

[Chuck]
You probably don't want to get rid of the <Context> elements, but they really 
should not be in server.xml, at least not on Tomcat 5.0 or newer.  Also, if you 
want a particular webapp to be the default webapp for a <Host>, it should be 
named ROOT, not anything else.

[Chuck]
Again, <Context> elements should not be in server.xml, and the default webapp 
for the <Host> should be named ROOT.  Following standard practice makes things 
much easier; if you were to do that, you could eliminate the <Context> element 
altogether, and simply place your webapp in:
  /usr/local/apache-tomcat-5.5.28/AlfrescoApp/ROOT.war

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

Reply via email to