Hide Forgot
Description of problem: Attempting to add the modeshape subsystem into a domain profile after adding it to another profile will fail. For example, if the user adds the modeshape subsystem into the default profile /profile=default/subsystem=modeshape:add() and the tries to add it to the ha profile /profile=ha/subsystem=modeshape:add() the following error is thrown: "outcome" => "failed", "failure-description" => {"domain-failure-description" => "JBAS014749: Operation handler failed: Service jboss.modeshape.engine is already registered"}, "rolled-back" => true Because of this, it is not possible through the jboss-cli to add a modeshape repository, because executing that command will complain that the subsystem hasn't been added. See: http://pastebin.test.redhat.com/221810 for the full results. How reproducible: Always. Steps to Reproduce: 1. Follow steps in description Actual results: It is impossible to add the modeshape subsystem to any profile after adding one to another profile. Expected results: Adding the modeshape subsystem to all profiles works without issue.
This has been fixed and merged in the prod branch: https://github.com/jboss-integration/modeshape/commit/fa2b69e2ec41eebfeca8dfba0a4d1a8cb5871cd5 Please note that the ModeShape related CLI scripts from code.engineering.redhat.com/ip.git have a couple of issues: 1) ModeShape-standalone.cli does not add the Infinispan cache container before creating the Infinispan caches 2) ModeShape-domain.cli does not add the ModeShape webapps to all the profiles: default & full are missing the webapps.
Hi Horia, The infinispan cache container is added by the ModeShape-infinispan.cli script. The ModeShape-domain.cli also does not add the new modeshape-explorer webapp for any profile. Fixing that, nice catch, thanks! Tom
Tom, please *don't add* the modeshape-explorer webapp. It's not being included for the product atm. and not sure it will be at all, because there are some security concerns. I was referring to the modeshape-rest.war, modeshape-webdav.war and modeshape-cmis.war.
Verified in DV ER6.