migration
i tried to use asmigrate to migrate my current tomcat servlet to sun's application server. but this migration tool requires j2ee_home, java_home, and etc. i have tried various ways, but it still does not like the setting i have input. please help. i wonder why there is no tool to help find these path, since i have just installed java_ee_sdk-5_01-windows.exe.
[368 byte] By [
cherryhead] at [2007-11-26 11:36:58]

# 1
Hi,
The variables that need to be set are as follows:
# JAVA_HOME -- Set to the directory where the JDK is installed (for example, /opt/j2sdk1.5).
-To find out where java is installed on your system, run 'which java' and set it to the directory above the BIN directory. e.g. if which java outputs /usr/jdk1.5/bin/java, JAVA_HOME should be /usr/jdk1.5
# ASMT_HOME -- Set to the directory where the migration tool is installed (for example, /opt/asmt).
# J2EE_HOME -- Set to the directory where the J2EE application server is installed (for example, /opt/j2sdkee1.3.1).
If you are on solaris, using c shell, run:
setenv JAVA_HOME <correct directory>
setenv ASMT_HOME <correct directory>
setenv J2EE_HOME <correct directory>
You can permanently set these variables in the asmigrate.sh script. To do so, open the file in any text editor. At the beginning of the file are the following lines:
# JAVA_HOME=
# ASMT_HOME=
# J2EE_HOME=
If this does not work please tell us what you have set these to, and what errors you are getting....
Hope this helps
roho at 2007-7-7 11:35:19 >
