Chapter 3. Simplify your JBoss EAP 8.0 migration with effective tools As a system administrator, you can simplify your migration process to JBoss EAP 8.0 with the help of two essential tools. The Migration Toolkit for Runtimes (MTR) analyzes your applications and provides detailed migration reports, whereas the JBoss Server Migration Tool updates your server configuration to include new features and settings. 3.1. Analyzing your applications before migration You can use Migration Toolkit for Runtimes (MTR) to analyze the code and architecture of your JBoss EAP 6.4 and 7 applications before you migrate them to JBoss EAP 8.0. The MTR rule set for migration to JBoss EAP 8.0 provides reports on XML descriptors, specific application code, and parameters that need to be replaced by an alternative configuration when migrating to JBoss EAP 8.0. MTR is an extensible and customizable rule-based set of tools that helps simplify migration of Java applications. MTR analyzes the APIs, technologies, and architectures used by the applications you plan to migrate, providing detailed migration reports for each application. These reports provide the following information: Detailed explanations of the necessary migration changes Whether the reported change is mandatory or optional Whether the reported change is complex or trivial Links to the code requiring the migration change Hints and links to information about how to make the required changes An estimate of the level of effort for each migration issue found and the total estimated effort to migrate the application Additional resources Migration Toolkit for Runtimes 3.2. Simplify your server configuration migration The JBoss Server Migration Tool is the preferred method for updating your server configuration to include the new features and settings in JBoss EAP 8.0 while keeping your existing configuration. The JBoss Server Migration Tool reads your existing JBoss EAP server configuration files and adds configurations for any new subsystems, updates the existing subsystem configurations with new features, and removes any obsolete subsystem configurations. You can use the JBoss Server Migration Tool to migrate standalone servers and manage domains. 3.2.1. Migrating to JBoss EAP 8.0 The JBoss Server Migration Tool supports migration from all releases of JBoss EAP version 7, to JBoss EAP 8.0. Note If you want to migrate from JBoss EAP 6.4, you must first migrate to the latest Cumulative Patch (CP) version of JBoss EAP 7.4. For more information, see JBoss EAP 7.4 Migration Guide . Subsequently, you can migrate from JBoss EAP 7.4 CP version to JBoss EAP 8.0. Prerequisites JBoss EAP is not running. Procedure Download the tool from the JBoss EAP download page . Extract the downloaded archive. Navigate to the MIGRATION_TOOL_HOME/bin directory. Execute the jboss-server-migration script. For Red Hat Enterprise Linux: For Microsoft Windows: Note Replace EAP_PREVIOUS_HOME and EAP_NEW_HOME with the actual paths to the and new installations of JBoss EAP. Additional resources Using the JBoss Server Migration Tool

Commands:
unzip <NAME_OF_THE_FILE>
./jboss-server-migration.sh --source EAP_PREVIOUS_HOME --target EAP_NEW_HOME
jboss-server-migration.bat --source EAP_PREVIOUS_HOME --target EAP_NEW_HOME