RE: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread Caldarale, Charles R
> From: jilen [mailto:jilen.zh...@gmail.com] > Subject: Re: "path" attribute in {myapp}/META-INF/context.xml always not work! > So far as i understand, i have two choice to make my own > app as root app > 1. replace the ROOT dir in the appBase with my own app The stron

Re: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread jilen
On 10/27/2011 09:46 AM, Caldarale, Charles R wrote: From: jilen [mailto:jilen.zh...@gmail.com] Subject: "path" attribute in {myapp}/META-INF/context.xml always not work! name and path attribute are override with the war name So these attribute are not work. Is tomcat supposed to do

RE: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread Caldarale, Charles R
> From: jilen [mailto:jilen.zh...@gmail.com] > Subject: "path" attribute in {myapp}/META-INF/context.xml always not work! > name and path attribute are override with the war name > So these attribute are not work. > Is tomcat supposed to do that? Yes; read the doc:

Re: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread jilen
Tomcat: 7.0.22 OS:linux Java: OpenJDK 1.6-23 in org.apache.catalina.startup.HostConfig.deployWAR(ContextName, File, String) i found some code like these context.setName(cn.getName()); context.setPath(cn.getPath()); context.setWebappVersion(cn.getVersion()); context.setDocBase(file); ... nam

"path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread jilen
in org.apache.catalina.startup.HostConfig.deployWAR(ContextName, File, String) i found some code like these context.setName(cn.getName()); context.setPath(cn.getPath()); context.setWebappVersion(cn.getVersion()); context.setDocBase(file); ... name and path attribute are override with the war na