Troubleshooting: Instance migration fails when WebSphere Commerce installation directory includes white space
Application tier migration fails during instance migration on an installation where your WebSphere Commerce directory includes white space.
Problem
An exception similar to the following
example occurs:
[2009.11.20.15.52.01] INFO: [wsadmin] Exporting WC_demo to C:/Program Files/ibm/WebSphere/CommerceServer70/temp/migrate/WC_demo.ear/exported.ear [2009.11.20.15.52.01] INFO: [wsadmin] WASX7017E: Exception received while running file "C:/PROGRA~1/ibm/WEBSPH~1/COMMER~1/migration/xml/scripts/exportEar.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7280E: An application with name "WC_demo" does not exist. [2009.11.20.15.52.01] ERROR: BUILD FAILED [2009.11.20.15.52.01] ERROR: C:\PROGRA~1\ibm\WEBSPH~1\COMMER~1\migration\xml\build.xml:32: The following error occurred while executing this line: [2009.11.20.15.52.01] ERROR: C:\PROGRA~1\ibm\WEBSPH~1\COMMER~1\migration\xml\build.xml:47: The following error occurred while executing this line: [2009.11.20.15.52.01] ERROR: C:\PROGRA~1\ibm\WEBSPH~1\COMMER~1\migration\xml\app.xml:152: The following error occurred while executing this line: [2009.11.20.15.52.01] ERROR: C:\PROGRA~1\ibm\WEBSPH~1\COMMER~1\migration\xml\app.xml:251: The following error occurred while executing this line: [2009.11.20.15.52.01] ERROR: C:\PROGRA~1\ibm\WEBSPH~1\COMMER~1\migration\xml\app.xml:281: Java returned: 105 [2009.11.20.15.52.01] ERROR: Total time: 7 minutes 24 seconds [2009.11.20.15.52.01] ERROR: [WCIMANT] WCIM has completed the job(s) with errors. Check the log files for details. [2009.11.20.16.00.19] INFO: [WCIMUtil] Stopping server.
Solution
The root cause is that the WebSphere Commerce directory includes white space, which is not recognized by the IBM WebSphere Application Server version 7.0 script.
To correct this issue, install IBM WebSphere Application Server ifix PK97217 on your IBM WebSphere Application Server.