tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Tomcat 4 workDir namespace collisions
Date Fri, 15 Feb 2002 13:32:12 GMT
If you configure both an https(SSL) Host and an http Host which have
the same domain name they end up having the same workDir.

Using the Host name to create the default workDir does not guarantee
it is unique since their can be both an http host and an https host
with the same domain name.

There is no easy workaround for this in the current tomcat configuration
since the workDir can only be configured in the Context scope.

This case can arise when you use two Engine configurations, one for
http hosts and one for https hosts, each Engine with a separte Ajp
connector to Apache.

Perhaps the work dir directory path should have an additional directory
in its path for the Engine name.

$CATALINA_HOME/work/{engine}/{host}/{webapp}

Regards,

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message