Step 4: Complete the migration
This topic describes the manual steps that you might need to perform to complete the migration process. These are steps that are not performed automatically by the WebSphere Application Server migration tools.
Change and install a new EJB dbschema database name
If the EJB dbschema name was hard coded to database EJB in your Version 3.5 application, change and install a new EJB dbschema database. For more information, see Change and install a new EJB dbschema database name in the Application development topic.Change the HTTP transport after migration
If the -portBlock parameter was not specified in the WASPostUpgrade script, you need to use the Version 5 administrative console to adjust the ports manually after migration has completed."
- Use the Version 5 administrative console to change the HTTP transport port:
- Navigate to Servers --> Application Servers --> my_server where my_server is the name of the application server that was migrated.
- Click Web Container.
- Click HTTP transports.
- Click on a host.
- Adjust the Port property by entering a port not currently in use on your iSeries server. Record both the old and new port numbers; they are needed for step 2.
- Click OK.
- Repeat for each host.
- Adjust your Virtual hosts to correspond to your HTTP transport.
- Click Environment --> Virtual Hosts.
- Select your virtual host.
- Click Host Aliases.
- Click New.
- Select one of the ports that were changed in step 1.
- Enter the port that this was changed to in step 1.
- Click OK.
- Repeat for each port that was changed in step 1.
- Click Save.
- Regenerate your plugin configuration.
- Navigate to Environment --> Update Web Server Plugin.
- Click OK.
Migrate the default file and directory authorities
The default for files and directories created by a WebSphere Application Server Version 4 application server is to have *PUBLIC authority set to *RX. The default for files and directories created by a WebSphere Application Server Version 5 application server is to have *PUBLIC authority set to *EXCLUDE. This default was changed in WebSphere Application Server Version 5 for security reasons. Two system properties can be added to change this WebSphere Application Server Version 5 default to the default that was used in WebSphere Application Server Version 4. The following instructions describe how to add these two system properties to an application server:
- Open the administrative console.
- Expand Servers and click Application Servers.
- Click the name of the application server for which you would like to add the system properties.
- Click Process Definition.
- Click Java Virtual Machine.
- Click Custom Properties.
- Click New.
- Specify os400.file.create.auth for the property name and RX and the property value.
- Click Apply.
- Repeat steps 7-9 for the os400.dir.create.auth property name and RX property value.
- Save your changes.
- Restart the application server for the changes to take effect.
Additionally, the grtwasaut script located in the /QIBM/ProdData/WebAS5/base/bin directory can be used to explicitly grant authority to the appropriate users and authorization lists for directories and files in an instance. This is an alternative to the approach described above in that grtwasaut allows fine grained file and directory permissions to be defined. See The grtwasaut script in the Administration topic for more information on using the grtwasaut script to change the file and directory authorities.
Migrate the web server plug-in
If the WebSphere Application Server Version 3.5.x plug-in for your web server uses Open Servlet Engine (OSE) transport, switch to HTTP transport when migrating to WebSphere Application Server Version 5.The following instructions are specific to the Web server being supported and assume that you can successfully migrate existing Web applications:
Plug-in migration has been tested with the following Web server products:
- IBM HTTP Server (original) for iSeries (V4R5)
- IBM HTTP Server (powered by Apache) for iSeries (V5R1)
- Lotus Domino HTTP Server
Use the following steps to migrate the plug-in configuration:
- Configure an HTTP server instance
There are two options to chose from:
- Create a new HTTP server instance to be used by the Websphere Version 5 instance. This method allows both Websphere Version 3.5.x or 4.0.x and Version 5 instances to continue operating correctly.
Update the HTTP server instance configuration for the Websphere Version 3.5.x or 4.0.x instance that is being migrated. This method changes the HTTP instance configuration to work with the Websphere Version 5 instance and makes the Websphere Version 3.5.x or 4.0.x instance no longer usable.
Configure the virtual host for the Version 5 instance.
This step ensures that both the host and HTTP transport port number exist in the virtual host list.Regenerate the plug-in configuration file, plugin-cfg.xml.
This step needs to be done after any configuration changes have been made. Additional configuration is required if Secure Sockets Layer (SSL) is enabled on a plug-in transport. In addition to copying the .kdb file to the Version 5 instance, edit the plug-in to specify the .kdb file required for the plug-in to use the transport. For more information on copying the .kbd files to the Version 5 instance, see J2EE security on the Migration configuration mapping page. For more information on editing the plug-in, see Step 5: Configure HTTPS transport for the Web container of the Configure SSL for WebSphere Application Server in the Security topic.
Change the ConnectionIOTimeOut properties for the Web container
Peformance changes to the WebSphere HTTP plug-ins may result in InterruptedIOTimeout exceptions while reading large requests, such as receiving file uploads to a servlet. Increase the ConnectionIOTimeout value in the Web Container of your application as follows:
- In the topology tree, expand Servers and click Application Servers.
- On the Application Servers page, click the name of the server that you want to modify.
- On the server's detail page, click Web Container.
- On the Web Container page, click HTTP Transports.
- On the HTTP Transports page, click the transport that you want to modify.
- Click Custom properties.
- Click New and add a property named ConnectionIOTimeout. Set the property to the maximum time a servlet or JSP waits for a client to transmit request data.
After you add a virtual host alias, restart the application server. See Start and stop application servers in the Administration topic for more information.