Re: context.xml not being read

2011-10-30 Thread jilen
On 10/29/2011 04:48 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jilen, On 10/27/2011 9:06 PM, jilen wrote: This is the question i've asked before in org.apache.catalina.startup.HostConfig.deployWAR(ContextName, File, String) i found some code like

Re: context.xml not being read

2011-10-27 Thread jilen
On 10/28/2011 06:45 AM, Rajkumar Singh wrote: Hi Chuck, Once again appreciate your response. What I did was I created a WAR file and dropped it under the tomcat webapps folder and started it. This helped in overcoming my problem. This process created conf/Catalina/[host]/[appName].xml and

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

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); ...

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 that? Yes