"Unrecoverable error during creation of permission Index" during JBoss startup

  • 7014429
  • 17-Jan-2014
  • 17-Jan-2014

Environment

NetIQ Identity Manager Roles Based Provisioning Module 4.0.2A
IDM Home and Provisioning Dashboard 4.0.2A

Situation

Error found in JBoss server.log:
 
12:12:59,919 INFO  [PermIndex] [RBPM] permission Index directory: /tmp/permindex
12:13:00,104 ERROR [PermIndex] [RBPM] Unrecoverable error during creation of 
Permission Index
com.netiq.cis.spi.IndexException: java.io.IOException: Failed to list contents 
of /tmp/permindex
         at 
com.netiq.cis.permindex.PermissionIndex.initialize(PermissionIndex.java:98)
         at com.netiq.idm.cis.PermIndex.initialize(PermIndex.java:260)
         at com.netiq.idm.cis.PermIndex.access$100(PermIndex.java:71)
         at com.netiq.idm.cis.PermIndex$1.run(PermIndex.java:135)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Failed to list contents of /tmp/permindex
         at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1393)
         at 
com.netiq.cis.permindex.PermissionIndex.initialize(PermissionIndex.java:96)
         ... 6 more

Resolution

1) Stop JBoss
2) Delete all of files and folders in /tmp/permindex
3) Make sure the folder is owned by the correct user
4) Start JBoss