| Migration Tutorial Overview |
|
|
Some of the tasks involved in migrating the application are performed by a conversion utility. This section shows how to use the conversion utility, and then describes the migration tasks that have not been automated. Main steps in the migration are:
Note: If you are migrating to WebLogic Server 6.1, you should be aware that in WebLogic 6.1 changes and configurations made to applications in the /config/domain_name/applications directory, which is intended for use as an auto-deploy directory, are not permanently saved in the config.xml file as they were in WebLogic Server 6.0. Changes and configurations made in this directory are persisted for the current runtime only.
When you have opened the console, click the Convert weblogic.properties link under the Getting Started heading to navigate to the conversion tool interface.
For information about using the Administration Console, see Administration Console Online Help.
The conversion utility interface consists of two pages that contain graphical directory structures in which you can select the WebLogic Server 5.1 root directory and the subdirectories that contain the weblogic.properties files of the servers or clusters to be migrated.
1. In the first page of the conversion utility interface ("Locate your weblogic root"), click the icon to select the WebLogic Server 5.1 root directory, which contains the global weblogic.properties.If you correctly select the folders on the two successive pages, the conversion tool will perform the conversion and display a message on a third page, reporting on the conversion.
The following is sample output from the WebLogic Server 6.0 conversion.
New Domain name is migrationdomain
*************************************
Server Name is migrationserver
This server doesn't belong to any cluster
*************************************
Converting Server properties
Warning--- File democert.pem not found has to be copied under config/migrationdomain/migrationserver directory
Warning-- File ca.pem not found has to be copied under config/migrationdomain/migrationserver directory
Warning-- File demokey.pem not found has to be copied under config/migrationdomain/migrationserver directory
Converting Server Debug Properties
Converting WebServer properties
Converting WebApp Component Properties
Converting JDBC Specific properties
Converting CORBA IIOP properties
Converting EJB Specific Properties
Converting StartupClass properties
Converting Shutdown Class properties
Converting MailSession Properties
Converting FileT3 properties
Converting JMS properties
Converting Security Properties
Converting the PasswordPolicy properties
Converting User Group and ACL properties
Creating webApp for the servlets registerd in the properties file
Startup Scripts for the Server are created in the ResultDir config/migrationdomain
Conversion successful.
Edit the startmigrationdomain command--located in the WL6x_HOME\samples\examples\tutorials\migration\banking directory--to reflect file locations in your directory structure.
1. Make sure that JAVA_HOME specifies the appropriate JDK in the startmigrationdomain script.set APPLICATIONS=%WL6x_HOME%\config\migrationdomain\applications
set CLIENT_CLASSES=%WL6x_HOME%\config\migrationdomain\clientclasses
set SERVER_CLASSES=%WL6x_HOME%\config\migrationdomain\serverclasses
set BANKING_WEBAPP_CLASSES=%WL6x_HOME%\config\migrationdomain\applications\Default WebApp_migrationserver\WEB-INF\classes
set CLOUDSCAPE_CLASSES=%WL6x_HOME%\samples\eval\cloudscape\lib\cloudscape.jar
3. Append the following variables to the startmigrationdomain CLASSPATH.
4. Add the following setting to the startmigrationdomain command, making sure to add it before the final "weblogic.Server":CLASSPATH=...%APPLICATIONS%;%CLIENT_CLASSES%;%SERVER_CLASSES%;%BANKING_WEBAPP_CLASSES%;%CLOUDSCAPE_CLASSES%
-Dcloudscape.system.home=WL51_HOME\eval\cloudscape\data
Copy files from the old WebLogic Server 5.1 installation to the new WebLogic Server 6.x installation. In the instructions below, WL51_HOME means your source WebLogic Server 5.1 root directory, and WL6x_HOME means your target WebLogic Server 6.x root directory.
WL51_HOME\migrationserver\public_html
WL6x_HOME\config\migrationdomain\applications\DefaultWebApp_migrationserver
To WL6x_HOME\config\migrationdomain\applications\DefaultWebApp_migrationserver\WEB-INF\classes, copy the directory and contents of WL51_HOME\migrationserver\servletclasses\examples.
To WL6x_HOME\config\migrationdomain\, copy the directory and contents of WL51_HOME\migrationserver\serverclasses.
To WL6x_HOME\config\migrationdomain\, copy the directory and contents of WL51_HOME\migrationserver\clientclasses.
To run the sample application:
1. Run startmigrationdomain in the WL_HOME\config\migrationdomain directory. For more information about starting WebLogic 6.x Servers, see Starting and Stopping WebLogic Servers.http://localhost:7001/login.html
|
|
| Copyright © 2001 BEA Systems, Inc. All rights reserved.
Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher. |