PDA

View Full Version : Quercus startup - file indexing


domdorn
01-27-2010, 08:12 PM
Hi,

I'm wondering what quercus does when an application is loaded? It looks like its indexing all the files of the webapp which gets a problem with some php applications that also store their cache data under the document root, as those will also be scanned.. also it seems the files created by svn get scanned too, multiplying the normal file count by 3 to 4.

a medium sized webapp very easily gets > 9000 files with this in mind.. does quercus really need to index all those files?

nam
01-27-2010, 08:32 PM
Quercus does not do any type of indexing of files. Quercus should only look in the WEB-INF directory at startup, specifically the WEB-INF/classes/META-INF directory for modules and classes it should load.

The delay may not be a startup delay, but a first access delay, where the page requested and all of its includes get parsed, compiled, and cached. Subsequent requests do not need to parse and compile the files anymore, so those requests respond much faster than the first request.

domdorn
01-27-2010, 10:32 PM
hmm.... ok.. then this may be a problem of glassfish v3... I'll do further tests.