Configuration mapping during product-configuration migration
Various configurations are mapped during product-configuration migration.
This topic is about configuration migration, such as migrating deployment managers and federated nodes in a network deployment environment. The Application Migration Toolkit for WebSphere Application Server provides support for migrating applications from previous versions of WebSphere Application Server to the latest product version. For information about migrating applications, read more about the Migration Toolkit.
Migration always involves migrating a single profile to another single profile on the same machine or a separate machine. Go to the documentation for the WebSphere® Application Server WebSphere Application Server Network Deployment product to learn how the migration tools map models, clones, server groups, clusters, and Lightweight Third Party Authentication (LTPA) security settings.
Many migration scenarios are possible. The migration tools map objects and attributes existing in the version from which you are migrating to the corresponding objects and attributes in the Version 8.5 environment.
Bootstrap port
The migration tools carry the old release value into the Version 8.5 environment.
If a value for the -portBlock parameter is specified during the call to WASPostUpgrade, however, the specified port value is given to each application server that is migrated to Version 8.5.
Command-line parameters
The migration tools convert appropriate command-line parameters to Java™ Virtual Machine (JVM) settings in the server process definition. Most settings are mapped directly. Some settings are not migrated because their roles in the WebSphere Application Server Version 8.5 configuration do not exist, have different meanings, or have different scopes.
For information on how to change the process-definition settings, see Process Definition Setting. For information on how to change the JVM settings, see Java virtual machine settings.
Generic server
If the old resource that the generic server was managing is not installed under the old WebSphere Application Server installation, nothing further is required.
Java heap size for migrating EAR files
When migrating all WebSphere Application Server Version 6.1 or later EAR files to Version 8.5 using the wsadmin tool, the WASPostUpgrade tool uses the default maximum Java heap size value of 64 MB to install the EAR files.
java.lang.OutOfMemoryError JVMXE006:OutOfMemoryError
Increase the maximum Java heap size, and follow the example to install the application.
- Example of installing the application on WebSphere Application Server
Version 8.5:Assume that:The command is displayed on more than one line for clarity.
wsadmin -conntype NONE -c "$AdminApp install C:\\WebSphere\\AppServer\\installableApps\\ EAR_file_name {-nodeployejb -appname app_name -server server_name -node node_name}"
Policy files
Properties directories
Migration copies files from prior version directories into the WebSphere Application Server Version 8.5 configuration.
Property files
WebSphere Application Server Version 8.5 migrates all the property files that are installed with Version 6.1 or later by merging settings into the Version 8.5 property files.
Resource adapter archives (RARs) referenced by J2C resources
RARs that are referenced by J2C resources are migrated if those RARs are in the old WebSphere Application Server installation. In this case, the RARs are copied over to the corresponding location in the new WebSphere Application Server installation. Relational Resource Adapter RARs will not be migrated.
Samples
No migration of samples from previous versions is available. There are equivalent WebSphere Application Server Version 8.5 samples that you can install.
Security
Java 2 security is enabled by default when you enable security in WebSphere Application Server Version 8.5. Java 2 security requires you to grant security permissions explicitly.
There are several techniques that you can use to define different levels of Java 2 security in Version 8.5. One is to create a was.policy file as part of the application to enable all security permissions. The migration tools call the wsadmin command to add an existing was.policy file in the Version 8.5 properties directory to enterprise applications as they are being migrated.
For more information on migrating your security configurations to Version 8.5, read the Migrating, coexisting, and interoperating – Security considerations topic in the documentation.
Stdin, stdout, stderr, passivation, and working directories
The location for these directories is typically within the installation directory of a previous version. The default location for stdin, stdout, and stderr is the logs directory of the WebSphere Application Server Version 8.5 installation root.
The migration tools attempt to migrate existing passivation and working directories. Otherwise, appropriate Version 8.5 defaults are used.
Transport ports
The migration tools migrate all ports. You must resolve any port conflicts before you can run servers at the same time.
If you specify the -portBlock parameter in the WASPostUpgrade command, the specified value is assigned to each transport that is migrated.
If you specify true for the -replacePorts parameter in the WASPostUpgrade command, all port values from the old configuration are used in the new configuration. If you specify false for the -replacePorts parameter, the default port definitions in the new profile are not replaced with the values from the old configuration during migration.
For more information on the WASPostUpgrade command, read WASPostUpgrade command.
For further information on transport chains and channels, see Transport chains.
You must manually add virtual host alias entries for each port. For more information, see Configuring virtual hosts.
Web modules
The specification level of the Java Platform, Enterprise Edition (Java EE) implemented in WebSphere Application Server Version 6.1 required behavior changes in the web container for setting the content type. If a default servlet writer does not set the content type, not only does the web container no longer default to it but the web container returns the call as "null." This situation might cause some browsers to display resulting web container tags incorrectly. To prevent this problem from occurring, migration sets the autoResponseEncoding IBM® extension to "true" for web modules as it migrates enterprise applications.
JVM system properties
If you migrate a Version 6.1 configuration that has feature packs installed, the migration tools might add one or two JVM system properties for each Java server in your configuration, including your administrative servers. Web servers are not affected. The properties are set to indicate to the JVM that the configuration should use a Java annotation scan policy other than the Version 8.5 default scan policy.
You can change the scan policy behavior by adding or removing the custom JVM system properties from your server.xml files. After changing the properties, you must reinstall or update your applications and then resynchronize the cell to implement the change.