Migrating PetStore
Hello,
I am using asmigrate.sh version 2 (in a RedHat Linux Enterprise 4) to migrate Pet Store 1.4 to the Sun Java System Application Server 9 but I am getting the error bellow.
Do you know any solution to this problem? Is there another way to get Pet Store 1.4 running on the new Java EE 5 platform?
***
[root@localhost ~]# /opt/asmt/bin/asmigrate.sh -c --sourcedirectory /root/oldpetstore/src/ --sourceserver ri14 --targetdirectory /root/newpetstore -d --targetserver sjsas9
JAVA_HOME=/usr/java/jdk1.5.0_09
J2EE_HOME=/usr/local/src/workspace/publish/glassfish/
ASMT_HOME=/opt/asmt
Selected Directory is not empty. Some Output file(s) may be overwritten. Do you want to continue? (Y/N):Y
Pre-processing input :-
-
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sun.iasmt.user.cmd.backendenablers.InputArgException: 205:The following are not in legal J2EE component format (see the component spec for details).
No valid J2EE components found in directory /root/newpetstore.
at sun.iasmt.supervisor.util.InputDataPreprocessor.evaluateComponentList(Unknown Source)
at sun.iasmt.supervisor.util.InputDataPreprocessor.exec(Unknown Source)
at sun.iasmt.user.IASMTMain.runTool(Unknown Source)
at sun.iasmt.user.IASMTMain.<init>(Unknown Source)
at sun.iasmt.user.IASMTMain.main(Unknown Source)
Error 107:Tool can not recover from error.
***
Many thanks.

