2 Replies Latest reply on Jul 26, 2010 8:50 AM by michaelschuetz

    Getting "Unable to commit volatile index" periodically

    michaelschuetz

      Hi,

       

      I periodically get following exciptiong while starting GateIn/JBossAS5.1:

       

      12:01:30,808 ERROR [MultiIndex] Unable to  commit volatile index
      java.io.IOException: Cannot rename ...\GateIn-3.1.0-GA\server\sp\data\gatein\jcr\lucene\portal-system_serviceportal\indexes.new
      to ...\GateIn-3.1.0-GA\server\sp\data\gatein\jcr\lucene\portal-system_serviceportal\indexes
      at  org.apache.lucene.store.FSDirectory.renameFile(FSDirectory.java:408)
      at  org.exoplatform.services.jcr.impl.core.query.lucene.IndexInfos.write(IndexInfos.java:173)
      at  org.exoplatform.services.jcr.impl.core.query.lucene.MultiIndex.flush(MultiIndex.java:1082)
      at  org.exoplatform.services.jcr.impl.core.query.lucene.MultiIndex.checkFlush(MultiIndex.java:1408)
      at  org.exoplatform.services.jcr.impl.core.query.lucene.MultiIndex.access$100(MultiIndex.java:80)
      at  org.exoplatform.services.jcr.impl.core.query.lucene.MultiIndex$1.run(MultiIndex.java:1167)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      Caused by: java.io.FileNotFoundException: ...\GateIn-3.1.0-GA\server\sp\data\gatein\jcr\lucene\portal-system_serviceportal\inde
      xes (Zugriff verweigert)
      at java.io.FileOutputStream.open(Native Method)
      at  java.io.FileOutputStream.<init>(FileOutputStream.java:179)
      at  java.io.FileOutputStream.<init>(FileOutputStream.java:131)
      at  org.apache.lucene.store.FSDirectory.renameFile(FSDirectory.java:392)
      ... 7 more

       

      It does occur even after cleaning both database and temp files.

       

      My application does start as expected but this error is quite strange.

       

       

      Thanks for any help.

       

       

      Regards

      Michael