Uploaded image for project: 'JBoss Server Migration Tool'
  1. JBoss Server Migration Tool
  2. CMTOOL-67

Tool doesn't find any host configuration files if domain was started

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.0.0.Beta1
    • None
    • None
    • None

    Description

      Migrating domain of vanilla EAP works fine - the tool detect all host configuration files, however if the domain is started at least once, the tool doesn't detect any.

      mkdir source target
      unzip -q jboss-eap-6.4.0.zip -d source
      unzip -q jboss-eap-7.0.0.zip -d target
      
      ./source/jboss-eap-6.4/bin/domain.sh &
      # ... wait for domain to fully boot
      ./source/jboss-eap-6.4/bin/jboss-cli.sh -c 'shutdown --host=master'
      ./jboss-server-migration/server-migration.sh --source source/jboss-eap-6.4/ --target target/jboss-eap-7.0/ --interactive false
      

      actual

      ...
      14:41:54,611 INFO  [org.jboss.migration.core.ServerMigrationTask#650] (main) Retrieving source's host configurations...
      14:41:54,611 INFO  [org.jboss.migration.core.ServerMigrationTask#650] (main) No source's host configurations found.
      ...
      

      expected

      ...
      14:44:43,668 INFO  [org.jboss.migration.core.ServerMigrationTask#464] (main) Retrieving source's host configurations...
      14:44:43,668 INFO  [org.jboss.migration.core.ServerMigrationTask#464] (main) /home/pkremens/workspace3/source/jboss-eap-6.4/domain/configuration/host-master.xml
      14:44:43,668 INFO  [org.jboss.migration.core.ServerMigrationTask#464] (main) /home/pkremens/workspace3/source/jboss-eap-6.4/domain/configuration/host-slave.xml
      14:44:43,668 INFO  [org.jboss.migration.core.ServerMigrationTask#464] (main) /home/pkremens/workspace3/source/jboss-eap-6.4/domain/configuration/host.xml
      ...
      

      HEAD

      commit a4975904e81bf89b2d9652b2a68920bf8bc86281
      

      workaround
      Delete the source/jboss-eap-6.4/domain/configuration/domain_xml_history directory.

      Attachments

        Issue Links

          Activity

            People

              emartins@redhat.com Eduardo Martins
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: