2 Replies Latest reply on Dec 20, 2016 6:00 AM by Benedict Leahy

    JBAS014803: Duplicate resource

    Benedict Leahy Newbie

      Hi there,

       

      I'm exploring how to migrate a product from Jboss 5 to Jboss
      7 (and ultimately on to the latest vision of Wildfly)

       

      I will look at the red-hat-jboss-migration-toolkit, but and
      the moment I'm experimenting with an application called AsMigration-1.0.jar
      from a chap called Roman Jakubco.

      The point of this tool seems to be to pull all the mandatory
      configuration entries from all the jboss 5 XML files and create a new
      Standalone.xml for you.

       

      But I'm getting the following Error. I'm really not certain
      what to do, can anyone add any insight based on the error.

       

      16:34:54,800 ERROR MigratorApp:227 - Migration failed. See
      previous messages for progress.

      16:34:54,802 ERROR MigratorApp:238 -

      16:34:54,803 ERROR MigratorApp:239 - Migration failure
      cause: cz.muni.fi.jboss.migration.ex.MigrationException: Failed performing the
      migration actions.

          Operation failed:
      {"JBAS014653: Composite operation failed and was rolled back. Steps that
      failed:" => {"Operation step-33" => "JBAS014803:
      Duplicate resource [

          (\"subsystem\"
      => \"security\"),

        
      (\"security-domain\" => \"other\")

      ]"}}

      1. cz.muni.fi.jboss.migration.ex.MigrationException: Failed
        performing the migration actions.

          Operation failed:
      {"JBAS014653: Composite operation failed and was rolled back. Steps that
      failed:" => {"Operation step-33" => "JBAS014803:
      Duplicate resource [

        
      (\"subsystem\" => \"security\"),

        
      (\"security-domain\" => \"other\")

      ]"}}