You shouldn't be seeing that exception at all. The filesystem deployments aren't written back to the domain configurations, so I don't see what duplicate resource it's complaining about.
12:05:03,310 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment clusterbench-ee6.ear
Actually, this might be a bug in the FileSystemDeploymentService. From what I understand of that message, it's triggering a retry of a failed deployment and probably the previous failed management operation isn't rolling back completely or this retry is trying to add the deployment content again. I'll have to check the code. I don't remember seeing this issue earlier because I have tried out similar usecase many times before without any issues.
I have the same understanding of the problem. Strange you havent seen it before, I have seen it quite some time ago for the first time. I may have been doing something wrong, but no idea what would that be. It was clean unzip and exactly what I described in the workflow.
PS: funnily enough, I ran into this when trying out your implementation for AS7-2887 :-)
I had a lot of trouble using jboss-cli to do rar deployment, it must be in the archive tag in the resources subsystem configuration. When I copied the files in the deployment directory and use the MCF implementation class, I finnaly could get a adapter working.