2 Replies Latest reply on Sep 9, 2007 2:16 PM by rafael liu

    Avoid Jboss 3.2.3 scanning large subdirectories

    Remi SERRANO Newbie


      I have a DocDir directory that can be made of a large amount of files.

      JBoss scans this directory at each startup and this takes a long time.
      Is there a way to tell JBoss not to scan a this directory ?

      I Know that there is a way to tell JBoss not to DEPLOY directories or files using the FILTER attribute in jboss-service.xml. But it does not seems to prevent JBoss from SCANNING the given directory.

      For instance, I renamed my Doc direcotry "DocDir" to "#DocDir"... but the startup is as slow as before.

      Thank you for your help,