Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12901

Configuration passed by system properties in command line doesn't work

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Critical
    • Resolution: Done
    • 7.1.0.CR1
    • 7.2.0.Beta
    • Migration
    • None

    Description

      Configuring server migration tool by passing system properties doesn't always work.

      For example(code from Migration guide):

      [akrajcik@akrajcik workspace-3]$ jboss-eap-7.1/bin/jboss-server-migration.sh --source jboss-eap-6.4  -Djboss.server.migration.report.xml.fileName=report.xml
      

      And got the following files:

      [akrajcik@akrajcik workspace-3]$ ll jboss-eap-7.1/migration/reports/
      total 1508
      -rw-rw-r--. 1 akrajcik akrajcik 1235228 Aug 30 15:13 migration-report.html
      -rw-rw-r--. 1 akrajcik akrajcik  303862 Aug 30 15:13 migration-report.xml
      

      I also tried it for:
      -Djboss.server.migration.report.html.fileName=report.html

      But sometimes it works, e.g.

      [akrajcik@akrajcik workspace-3]$ jboss-eap-7.1/bin/jboss-server-migration.sh --source jboss-eap-6.4  -Djboss.server.migration.domain.skip=True
      ----------------------------------------------------------
      ----  JBoss Server Migration Tool  -----------------------
      ----------------------------------------------------------
      Retrieving servers...
      15:26:51,990 INFO  [logger] SOURCE server name: EAP, version: 6.4.0.GA.
      15:26:51,996 INFO  [logger] TARGET server name: JBoss EAP, version: 7.1.0.GA.
      ----------------------------------------------------------
      ----------------------------------------------------------
      Server migration starting...
      
      Migrate the source's standalone server?
      yes/no? n
      
      Server migration done.
      
      15:26:55,671 INFO  [logger] 
      -----------
       Task Summary
      -----------
      -----------
       Migration Result: SKIPPED
      -----------
      

      The issue is marked as critical due to being in the Migration Guide (https://url.corp.redhat.com/ca20396).

      Attachments

        Issue Links

          Activity

            People

              chaowan@redhat.com Chao Wang
              akrajcik@redhat.com Adam Krajcik
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: