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:
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:
Powers prog...@yahoo.com wrote:
From: Roger Powers prog...@yahoo.com
Subject: Problem with respecting docBase in context file in TC 6.0.20?
To: users@tomcat.apache.org
Date: Wednesday, August 19, 2009, 3:19 PM
Problem:
1) /usr/tomcat/conf/Catalina/localhost/t.xml has:
Context path=/t docBase
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
says, after I removed some unimportant stuff and added
some yellow to highlight:
Context elements
may be explicitly defined:
ยท
In individual files (with a .xml extension)
in the $CATALINA_BASE/conf/[enginename]/[hostname]/
Hi,
I am making tomcat 6 work on different platforms that need different values for
maxThreads in the Connector in server.xml.
Ideally, I would set an environment variable and/or property that could be used
when server.xml is read - is something like this supported?
Or, worse case, it looks
Sorry, I just discovered that catalina.properties can
be used to set variables that can be used in server.xml -
problem solved!
--- On Thu, 7/30/09, Roger Powers prog...@yahoo.com wrote:
From: Roger Powers prog...@yahoo.com
Subject: Setting maxThreads from outside tomcat
To: users