This content has been marked as final. Show 2 replies
I located the source of the error:
The used variables:
ObjectName name = "jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml" String domain = "jboss.management.local" String props = "J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml"
Then the InstanceAlreadyExistsException(name + " already registered."); is thrown.
I don't know much about the JBoss internals, so I don't know why it is trying to register it again
I moved jboss-service.xml from WEB-INF to META-INF en renamed the jar to .sar. It seems to work now.