Chuck, thank you for your help. Asterisks where from bolding as Neven wrote.
When Context is defined in server.xml it's path attribute works fine. Actually I have read, but not understood doc. I concentrated on second part of sentace saying "unless either the docBase is not located under the Host<http://tomcat.apache.org/tomcat-7.0-doc/config/host.html>'s appBase" which was true in my case, but somehow I missed unfulfilled precondition. Thx once again, regards , Jakub On Mon, Apr 15, 2013 at 1:28 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Jakub 1983 [mailto:jjaku...@gmail.com] > > Subject: path attribute from Context.xml is not working > > > in file *someConf*.xml under directory > > C:\test\catalina_base\conf\Catalina\localhost > > I define path: > > > <Context *docBase*="C:\externaltests\test1\exploded" > *path*="/someConf*Path*" > > /> > > (For curiosity's sake, what are those silly asterisks doing in your > config?) > > You appear to have not read the description of the path attribute in the > <Context> doc: > > This attribute must only be used when statically defining a Context in > server.xml. > > > how can I make tomcat to use path attribute form Context element ? > > You can't, and don't try. Change the name of the .xml file to the desired > path. > > - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >