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

    JBAS014803: Duplicate resource

    benboss

      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\")

      ]"}}

        • 1. Re: JBAS014803: Duplicate resource
          pjhavariotis

          I have no idea about this tool but as far as I can understand from the depicted exception, something is going wrong with the security domain = other. Try to remove from your config the aforementioned security domain and try again.

          • 2. Re: JBAS014803: Duplicate resource
            benboss

            "something is going wrong with the security domain = other. Try to remove from your config the aforementioned security domain and try again."

             

            Thanks Panagiotis, I tried that and it worked thank you very much