Installation and SetupMigration Tool for Project GlassFish is distributed as a zip file. Note - After installation, do not change the directory structure of the migration tool in anyway, since doing so might result in erratic or unexpected behavior. System RequirementsBefore installing the migration tool, make sure your system meets the following software and hardware requirements.
It is assumed that your system's CLASSPATH is already set up to include the directories and JAR files required by your application for compilation. This is inherited during compilation/build steps carried out after running the tool. Also note that the JARs contained in your JDK's lib/ext directory may conflict with those of the migration tool. In this case, delete the JARs contained in your JDK's lib/ext/. Installing on SolarisThe following steps assume the migration tool has been downloaded to the /tmp directory. To install the migration tool on Solaris: % cd /tmp % unzip __ASMT.ZIP__ The directory structure appears as follows. <INSTALL_DIR>/migrate2glassfish/
|
|-- bin
|
|-- doc
|
|-- lib
|
|-- tools
Before Invoking the Migration Tool, set the following environment variables appropriately:
Set the variables accordingly and remove the '#' in front of the lines. Installing on LinuxThe following steps assume the migration tool has been downloaded to the /tmp directory. To install the migration tool on Linux: % cd /tmp % unzip __ASMT.ZIP__ The directory structure appears as follows. <INSTALL_DIR>/
|
|-- bin
|
|-- doc
|
|-- lib
|
|-- tools
Before Invoking the Migration Tool, set the following environment variables appropriately:
Set the variables accordingly and remove the '#' in front of the lines. Installing on WindowsThe following steps assume the migration tool was downloaded to the C:\temp directory. To install the tool on the Windows: C:\migrate2glassfish\
|
|-- bin
|
|-- doc
|
|-- lib
|
|-- tools
Before Invoking the Migration Tool, set the following environment variables appropriately:
Set the variables accordingly and remove the 'rem' in front of the lines. Preparing the Application Server to Run Migrated ApplicationsYou must make some changes to the configuration of the Application Server to enable it to run the migrated applications. These changes enable the Application Server to recognize the runtime compatibility libraries that are distributed with the Migration Tool. The following section discusses this modification. |