Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
Application Server Utilityasmigrate(1m)


NAME

 asmigrate - automates migration of J2EE applications from other J2EE platforms to Sun Java System Application Server

SYNOPSIS

 asmigrate [ -h | --help ] [ -v | --version ] [ (-c |--commandline) | (-u --ui) ] [ -q | --quiet ] [ -d | --debug ][ -s | --sourcedirectory source_directory ] [ -S | --sourceserver source_application_server ] [ -t | --targetdirectory target_directory ] [ -T | --targetserver target_application_server ] [ -n | --scan-native-apis-only ] [ -p | --scan-packages package_list ] [ -j | --java2db create-tables=true, drop-tables=true, db-vendor-name=dbVendorName ] [ -m | --migrate-cmp comment-pk-modifiers=true, overwrite-conflicting-accessors=true ] [ -f | --file-filter all-files=true, html-files=true, java-files=true, jsp-files=true, xml-files=true, archive-files=true ] [ -a | --append-logs ][ operands ]

DESCRIPTION

 

Use the asmigrate utility to analyze your J2EE application and translate vendor specific settings to Sun JavaTM System Application Server specific settings making the application deployable on Sun's J2EE products.

The following table identifies the supported J2EE product migrations:

Source J2EE PlatformDestination J2EE Platform
WebSphere Application Server 4.0WebLogic Application Server 5.1Sun ONE Application Server 6.5
WebLogic Application Server 5.1, 6.0, 6.1WebSphere Application Server 4.0JavaTM 2 Platform Enterprise Edition 1.3Sun ONE Application Server 6.xSun ONE Web Server 6.0JBoss Application Server 3.0Tomcat Web Server 4.1.12Sun ONE Application Server 7
WebLogic Application Server 5.1, 6.0, 6.1WebSphere Application Server 4.0JavaTM 2 Platform Enterprise Edition 1.3/1.4Sun ONE Application Server 6.xSun ONE Web Server 6.0JBoss Application Server 3.0Tomcat Web Server 4.1.12JavaTM 2 Platform, Enterprise Edition 1.4 Application Server
WebLogic Application Server 5.1, 6.0, 6.1WebSphere Application Server 4.0JavTMa 2 Platform Enterprise Edition 1.3/1.4Sun ONE Application Server 6.xSun ONE Web Server 6.0JBoss Application Server 3.0JBoss Application Server 3.2Tomcat Web Server 4.1.12Sun JavaTM System Application Server Platform Edition 8


OPTIONS

 
-h --help
displays the arguments for launching the MigrationTool.
-v --version
displays the version of the MigrationTool.
-u --ui
invokes the tool in user interface mode.
-c --commandline
invokes the tool in command-line mode.
-q --quiet
launches the tool in quiet mode.
-d --debug
launches the tool in debug mode.
-s --sourcedirectory
identifes the directory where the source code to migrate or scan is present.
-S --sourceserver
identifes the source application server of the applications to be migrated. Possible servers include:
  • wl51: WebLogic Application Server 5.1
  • wl60: WebLogic Application Server 6.0
  • wl61: WebLogic Application Server 6.1
  • as65: Sun ONE Application Server 6.5
  • as70: Sun ONE Application Server 7.0
  • ws40: WebSphere Application Server 4.0
  • ri13: JavaTM 2 Platform Enterprise Edition 1.3
  • ri14: JavaTM 2 Platform Enterprise Edition 1.3
  • s1ws: Sun ONE Web Server
  • jb30: JBoss Application Server 3.0
  • tc41: Tomcat Application Server 4.1
-t --targetdirectory
target or output directory where the migrated application should be placed.
-T --targetserver
target application server to which the application is to be migrated.
-n --scan-native-apis-only
scans the source code only for the presence of application server specific proprietary APIs.
-p --scan-packages
comma-separated list of Java packages to scan.
-j --java2db
bypasses the creation of the sun-cmp-mapping.xml file. Instead, introduces the option argument into the sun-ejb-jar.xml file. Option arguments are:
  • create-tables: if set to true (default), creates tables at deploy. If set to false tables are not created.
  • drop-tables: if set to true (default), tables are dropped at undeploy. If set to false tables are not dropped.
  • db-vendor-name: name of the database vendor for the application to be migrated. Supported vendor names include: Oracle, Sybase, DB2, Generic SQL92, PointBase, MSSQL.
-m --migrate-cmp
migrates 1.1 compliant CMPs, if any, to 2.0. Option arguments are:
  • overwrite-conflicting-accessors: if set to true (default), conflicting accessors are overwritten. If set to false, conflicting accessors are not overwritten.
  • comment-pk-modifiers: if set to true (default), setters of primary key are commented. If set to false, setters of primary key are not commented.
-f --file-filter
selects the type of files to migrate. Option arguments are:
  • all-files: if specified and set to true (default), migrates all types of files.
  • html-files: if specified and set to true (default), migrates HTML files.
  • java-files: if specified and set to true (default), migrates Java files.
  • jsp-files: if specified and set to true (default), migrates JSP type files.
  • archive-files: if specified and set to true (default), migrates jar/ear/war/rar file types.
-a --append-logs
if specified, appends the logging to the existing or previous logs without overwriting them. If not specified, previous logs are overwritten.
operands
identifes the archive file (jar/ear/war/rar) to be migrated.

SEE ALSO

 

asupgrade(1M)



J2EE 1.4 SDKGo To TopLast Changed March 2004