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).
- clones
-
JBEAP-12901 Configuration passed by system properties in command line doesn't work
- Closed