Troubleshoot and support > Migrate > Application tier migration


Troubleshoot: Application migration fails during SDO regeneration

During application migration, any custom physical SDO classes are automatically regenerated. Automatic regeneration reduces the possibility of the custom SDO classes becoming incompatible with the updated WebSphere Commerce components that they extend.


Problem

The automatic regeneration of your customized SDO can fail in some unexpected situations, and the migration ANT task fails with the following message:

[2009.07.17.08.23.16] VERBOSE: LaunchSDORegenforServer: [2009.07.17.08.23.16] WARNING: [echoNL] Start to build regenSDO
[2009.07.17.08.23.16] WARNING: [echo] dbType:db2
[2009.07.17.08.23.33] ERROR: BUILD FAILED
[2009.07.17.08.23.33] ERROR: /opt/IBM/WebSphere/CommerceServer70/migration/xml/build.xml:32: The following error occurred while execut
ing this line: [2009.07.17.08.23.33] ERROR: /opt/IBM/WebSphere/CommerceServer70/migration/xml/build.xml:47: The following error occurred while execut
ing this line: [2009.07.17.08.23.33] ERROR: /opt/IBM/WebSphere/CommerceServer70/migration/xml/app.xml:151: The following error occurred while executi
ng this line: [2009.07.17.08.23.33] ERROR: /opt/IBM/WebSphere/CommerceServer70/migration/xml/build.xml:56: The following error occurred while execut
ing this line: [2009.07.17.08.23.33] ERROR: /opt/IBM/WebSphere/CommerceServer70/migration/xml/build.xml:60: The following error occurred while execut
ing this line: [2009.07.17.08.23.33] ERROR: /opt/IBM/WebSphere/CommerceServer70/migration/xml/features/BASE/app/60/build.xml:33: The following error
occurred while executing this line: [2009.07.17.08.23.33] ERROR: /opt/IBM/WebSphere/CommerceServer70/migration/components/component-services/xml/regenerateSDOs.xml:43: Ja
va returned: 13
[2009.07.17.08.23.33] ERROR: Total time: 40 minutes 25 seconds
[2009.07.17.08.23.33] ERROR: [WCIMANT] WCIM has completed the job(s) with errors. Check the log files for details.

.


Solution

If you can determine why the custom SDO regeneration failed, correct the problem and rerun the migration. However, an equivalent solution is detailed in the following steps:

You can manually regenerate the classes by performing the following steps:

  1. In WebSphere Commerce Developer, manually regenerate the physical SDO classes for the customization extension, using the Data Service Layer Wizard. See Migrate custom Physical Service Data Objects.

  2. On the WebSphere Commerce server, rerun the migration of the WebSphere Commerce Application, specifying an additional parameter: -DskipRegenSDO=true.

  3. Deploy the regenerated physical SDOs that you regenerated in WebSphere Commerce Developer to the production environment.

Ensure you successfully regenerate the custom physical SDO classes before attempting to start the WebSphere Commerce Server.


+

Search Tips   |   Advanced Search