tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Boyer" <>
Subject Re: context elements in /conf/[enginename]/[hostname]
Date Wed, 02 Mar 2005 02:54:42 GMT
Okay, I'm getting closer. I've removed the 'path' attributes, and the
contexts are loading fine. However, Tomcat is using /xmlfilename as the
context's path. If I can't use the 'path' attribute in the Context
elment of files in /conf/[enginename]/[hostname], how do I tell Tomcat
the path is /dir1/dir2/xmlfilename?

>>> 2/24/2005 11:10:26 AM >>>

You do realize that the context configuration files have changed
Tomcat-5.0.xx and Tomcat-5.5.x, right?  If not, read the docs.  If you
used the
"path" attribute before in the standalone files, you no longer do that.
path is implied by the name of the file.  All you specify is the
And, of course, no more <Logger> elements.


Quoting David Boyer <>:

> I'm upgrading my Tomcat 5.0.x installations to 5.5.7. All of my
> elements are defined in individual files (with a ".xml" extension)
> the $CATALINA_HOME/conf/[enginename]/[hostname]/directory as per the
> Tomcat documentation.
> All of the defined contexts are loaded when Tomcat 5.0.28 starts,
> not in my 5.5.7 installation. My host element has deployXML="true",
> autoDeploy="true", and deployOnStartup="true".
> What am I missing that would cause this not to work in TC 5.5.7? If
> define the contexts in my server.xml, they work fine, but I'd rather
> them in $CATALINA_HOME/conf/[enginename]/[hostname]/
> TIA!

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message