RE: Problem with respecting docBase in context file in TC 6.0.20?

2009-08-20 Thread Roger Powers
You may have already figured this out, but just in case: 1) The path attribute of a Context element may only be used when the Context element is nested inside a Host element in server.xml - which is strongly discouraged. 2) The docBase attribute of a Context element may only be used

Problem with respecting docBase in context file in TC 6.0.20?

2009-08-19 Thread Roger Powers
Problem: 1) /usr/tomcat/conf/Catalina/localhost/t.xml has: Context path=/t docBase=webapps/a / 2) /usr/tomcat/webapps/a exists. 3) /usr/tomcat/webapps/t does not exist. 4) When tomcat starts, org.apache.catalina.core.StandardContext:resourcesStart() throws java.lang.IllegalArgumentException:

Re: Problem with respecting docBase in context file in TC 6.0.20?

2009-08-19 Thread Roger Powers
I also tried renaming /usr/tomcat/conf/Catalina/localhost/t.xml to /usr/tomcat/conf/Catalina/localhost/a.xml and now no exception is thrown, and I see via tomcat manager that context /a is created, but whenever I try to access any pages under /t I get error 404. --- On Wed, 8/19/09, Roger

RE: Problem with respecting docBase in context file in TC 6.0.20?

2009-08-19 Thread Caldarale, Charles R
From: Roger Powers [mailto:prog...@yahoo.com] Subject: Problem with respecting docBase in context file in TC 6.0.20? How can I get it to not make such a presumption, and look at the docBase in the t.xml file? You may have already figured this out, but just in case: 1) The path attribute of