Feature enablement causes WebSphere Commerce Developer to stop responding
In a WebSphere Commerce Developer environment with Feature Pack 3 or later installed, enabling features that automatically enable the management-center feature might cause Developer to stop responding.
In the enableFeature.log, the log file ends with the following
messages,
importCMC: [delete] Deleting 2032 files from
F:\IBM\WCDE_E~1\workspace\LOBTools [delete] Deleted 266 directories from
F:\IBM\WCDE_E~1\workspace\LOBTools [copy] Copying 4050 files to
F:\IBM\WCDE_E~1\workspace\LOBTools [projectImport] projectName=LOBTools
projectLocation=null [projectImport] project.refresh [projectImport]
(Begin) [projectImport] ... subtask: Refreshing '/LOBTools'. [projectImport]
(Done) refreshProject:
Problem
Feature enablement is stuck on the following line of toolkitWorkspaceTask.xml when it is trying to clean theOpenLaszloIndex
:
<antcall target="refreshProject" />
<!-- Clean openlaszlo index for LOBTools project
-->
<if>
<or>
<equals arg1="${featureIdLowercase}" arg2="fep0"/>
<equals arg1="${featureIdLowercase}" arg2="fep1"/>
<equals arg1="${featureIdLowercase}" arg2="fep2"/>
</or>
<else>
<!-- If FEP3 or higher, clean openlaszlo index for LOBTools project -->
<CleanOpenLaszloIndex projectName="LOBTools" />
</else>
</if>
Solution
- Stop the feature enablement process.
- Open the WCDE_installdir\components\common\xml\toolkitWorkspaceTask.xml file.
- Remove the following
line:
<!-- If FEP3 or higher, clean openlaszlo index for LOBTools project -->
<CleanOpenLaszloIndex projectName="LOBTools" />
- Run the enablement script
again.
enableFeature.bat -DfeatureName=<feature name> -DcontinueOnSQLError=continue
- In Rational Application Developer, click the LOBTools project.
- Click . This step ensures that files from the previous Feature Pack level are no longer indexed.