I just put 5.0.28 on to my box, I was working with 4.x branch.
 
I am not quite sure how to define my contexts any more.
 
I do not see context entries in conf/server.xml, even the documentation make reference 
to contexts being in this file.
I did find conf/Catalina/localhost driectory.
 
I thought I would create a context in there, to see what happens. It didn't seem to 
take that context entry. I then tried to put the context entry into server.xml and it 
did not seem to take it either (both after tomcat restart)
 
I created a directory in webapps called qbs, and put all the required files and 
directories in there.
This is the contents of the qbs.xml file I created in conf/Catalina/localhost and its 
contents were what I used in server.xml
 
<Context
        path="/qbs"
        docBase="qbs"
        debug="0"
        privileged="false"
        reloadable="true">
        <Logger
                className="org.apache.catalina.logger.FileLogger"
                debug="0"
                directory="logs"
                prefix="qbs_log."
                suffix=".txt"
                timestamp="true"
                verbosity="1"/>
</Context>
 
To note, this context was already automatically being deployed, just because it 
existed in the webapps directory, but I would like to override some details.
What I am not seeing is the qbs_log.txt file being created, perhaps that is the only 
thing that is wrong here......
 
 
 
 
 

Reply via email to