Uploaded image for project: 'Opencast'
  1. MH-8761

Update ACL in SeriesService sometimes is unable to delete xacml file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects versions: 1.4.0
    • Fix versions: 1.4.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Update ACL via SeriesService#updateAccessControl(String, AccessControlList)
      Sometime you'll find a log entry like this:

      Exception in thread "pool-14-thread-113" java.lang.IllegalStateException: Unable to delete file: /Users/ced/dev/eth/matterhorn/dev/versions/essex-1.3.x/felix/work/opencast/files/mediapackage/cea613de-2082-4083-acf4-a1315b0d8221/security-policy/xacml.xml.md5
      at org.opencastproject.workingfilerepository.impl.WorkingFileRepositoryImpl.put(WorkingFileRepositoryImpl.java:237)
      at org.opencastproject.workspace.impl.WorkspaceImpl.put(WorkspaceImpl.java:368)
      at org.opencastproject.authorization.xacml.XACMLAuthorizationService.setAccessControl(XACMLAuthorizationService.java:361)
      at org.opencastproject.workflow.impl.WorkflowServiceImpl.update(WorkflowServiceImpl.java:1034)
      at org.opencastproject.event.handler.WorkflowPermissionsUpdatedEventHandler$1.run(WorkflowPermissionsUpdatedEventHandler.java:274)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)
      Show
      Update ACL via SeriesService#updateAccessControl(String, AccessControlList) Sometime you'll find a log entry like this: Exception in thread "pool-14-thread-113" java.lang.IllegalStateException: Unable to delete file: /Users/ced/dev/eth/matterhorn/dev/versions/essex-1.3.x/felix/work/opencast/files/mediapackage/cea613de-2082-4083-acf4-a1315b0d8221/security-policy/xacml.xml.md5 at org.opencastproject.workingfilerepository.impl.WorkingFileRepositoryImpl.put(WorkingFileRepositoryImpl.java:237) at org.opencastproject.workspace.impl.WorkspaceImpl.put(WorkspaceImpl.java:368) at org.opencastproject.authorization.xacml.XACMLAuthorizationService.setAccessControl(XACMLAuthorizationService.java:361) at org.opencastproject.workflow.impl.WorkflowServiceImpl.update(WorkflowServiceImpl.java:1034) at org.opencastproject.event.handler.WorkflowPermissionsUpdatedEventHandler$1.run(WorkflowPermissionsUpdatedEventHandler.java:274) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              cedriessen Christoph Driessen
              Reporter:
              cedriessen Christoph Driessen
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases