Note the way you have configured the path attribute in the Context element. <snip> <Context path="" docBase="site1" debug="0" > </snip>
Tomcat uses this "path" attribute to create the folders. For the "" path, it creates a "_" folder. The other two folders (site1 & site2) are created because they happened to exist under your webapps (see auto deployment of web application). Now the compiled jsp's go under "_" because the "path" attribute dictates it. This is also how you access your website - http:// site1.myserver.com and http://site2.myserver.com As an experiment, change the path to some other name say "rich" and you'll have a rich folder instead of "_". Also the access URL will change to http://site1.myserver.com/rich RS "Richard Haber" <[EMAIL PROTECTED]> on 07/11/2002 08:57:39 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> cc: Subject: Extra folders in tomcat/work Greetings gurus I have tomcat 4.0.3 connected to apache 2.0.36 using mod-jk. There are 2 Virtual Hosts, site1 and site2, configured in server.xml: <Host name="site1.myserver.com" debug="0" appBase="webapps" unpackWARs="false"> ... <Context path="" docBase="site1" debug="0" > And <Host name="site2.myserver.com" debug="0" appBase="webapps" unpackWARs="false"> ... <Context path="" docBase="site2" debug="0" > In my webapps folder are two folders: site1 and site2. When tomcat starts, it creates two folders in /work: site1.myserver.com and site2.myserver.com But in each of these it creates a site1 folder and site2 folder as well as the '_' folder where all of the compiled .jsp's go. Nothing goes in the site1 folder and site2 folder. I am wondering what is wrong with my configuration that causes this. Otherwise, the sites work as expected. Thanks in advance, Richard Haber -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>