In a toolkit environment, feature enablement hangs at refreshProject task

Technote (troubleshooting)


Problem(Abstract)

In a toolkit environment with Feature Pack 3 or later installed, enabling features that automatically enable the management-center feature might result in the toolkit failing to respond.

Symptom

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:



Diagnosing the problem

The feature enablement is stuck on the following line of toolkitWorkspaceTask.xml when it is trying to clean the OpenLaszloIndex:


<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>


Resolving the problem

  1. Stop the feature enablement process.
  2. Open the file toolkitWorkspaceTask.xml.
  3. Remove this line:
    <!-- If FEP3 or higher, clean openlaszlo index for LOBTools project -->
    <CleanOpenLaszloIndex projectName="LOBTools" />
  4. After you have removed the line, run the enablement script again.
    enableFeature.bat -DfeatureName=<feature name> -DcontinueOnSQLError=continue
  5. In Rational Application Developer, click the LOBTools project . Go to project > clean. This step ensures that files from previous Feature Pack level are no longer indexed.

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Commerce Developer Enterprise
Installation

Software version:

7.0.0.3, 7.0.0.4, 7.0.0.5, 7.0.0.6

Operating system(s):

Windows

Reference #:

1612202

Modified date:

2013-04-15

Translate my page

Machine Translation

Content navigation