Hello,

I want to change the default user file-dir.  for instance: /users/user1/

System: java 1.5.0_14, tomcat  6.0.18, os debian.
Configuration:
    system.xml:

           <Host name="test2.domain.at" debug="0" unpackWARs="true">
             <Logger className="org.apache.catalina.logger.FileLogger"
                  directory="logs"  prefix="virtual_log." suffix=".txt"
    timestamp="true"/>
             <Context path="" docBase="/users/user1/public_html"
    debug="0" reloadable="true"/>
             <Valve className="org.apache.catalina.valves.AccessLogValve"
                  directory="logs"  prefix="virtual_log." suffix=".txt"
                  pattern="common"/>
            </Host>




I've test it with a command (new File(".") ) in a JSP and the result of
the getCanonicalPath  is  the tomcat -home and not "/users/user1/".
I've tried without success the attributes appBase and |workDir|. 

Thanks.
Greedings Stefan
|*
*|*||***

Reply via email to