I don't think this is version specific but I'll specify I'm on Immutant 2.1.0 and Wildfly 9.0.1.Final.
I start with a stock, freshly unzipped wildfly download and run it with $ wildfly-9.0.1.Final/bin/standalone.sh. I run $ lein immutant war in my clojure project with the following in my project.clj:
:immutant {:war {:destination "/srv/wildfly-9.0.1.Final/standalone/deployments/"
:context-path "/app1}}
This works fine and I have my app at http://localhost:8080/app1. The problem is when I do this with a second app with :context-path "/app2", wildfly complains:
>Caused by: org.jboss.msc.service.DuplicateServiceException:
Service jboss.pojo.\"org.jboss.netty.internal.LoggerConfigurator\".DESCRIBED
is already registered"
If I do this process with app2 before app1, app2 gets correctly deployed but app1 gets a complaint. Both can be deployed individually but not at the same time.
I don't know if I'm missing a step at WAR time or missing wildfly configuration or what.