tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4091] - custom host with unpackWARs="true" don't expand war automatically - work around fails log4j!
Date Mon, 07 Jul 2003 14:15:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4091>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4091

custom host with unpackWARs="true" don't expand war automatically - work around fails log4j!

hauser@acm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.0.1 Beta 1                |4.1.24



------- Additional Comments From hauser@acm.org  2003-07-07 14:15 -------
in server.xml, removing the lines (where "privalope" could well be replaced "myapp")

<Context path="/privaLope" docBase="privaLope.war" debug="0"
cookies="false" reloadable="true"/>

solves two problems:
1) the war files get expanded automatically
2) the context path is no longer "null", thus log4j is working again

!!! The remaining problem is now: how to tell tomcat not to use cookies !!!

Further background:
System.out.println("1=" +getServletContext().getRealPath("\\"));
1=C:\tomcat\jakarta-tomcat-4.1.24\bin\..\webapps\privaLope\
...

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


Mime
View raw message