LI73725; Class Cannot Be Found during WebSphere Commerce FEP2 Portal enablement

Downloadable files


Abstract

LI73725 corrects a "class cannot be found" error that occurs during enablement of the portal feature contained in WebSphere Commerce Feature Pack 2.

Download Description

The LI73725 fix is required if you install IBM WebSphere Commerce V6.0 Feature Pack 2 and you want to enable the portal feature. When enabling the portal feature, errors similar to the following are recorded in the log file wcportalconfig_<date>.log under one of the following directories:


[java] ANTContribUtilities:
[java]
[java] BUILD FAILED
[java] HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
[java] C:\WCTOOL~1\components\common\xml\commonEnablementTasks.xml:576: taskdef class net.sf.antcontrib.logic.IfTask cannot be found
[java]
[java] Total time: 0 seconds

BUILD FAILED

file: C:/WCTOOL~1/components/wcportal/xml/WCTasks.xml:327: Java returned: 13
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)


If you encounter this error, install the fix and rerun the enablement script.


WebSphere Application Server Version 6.1 users

If you are using WebSphere Application Server Version 6.1 and you attempted to manually fix the initial error of class not found, you might have attempted to run the portal enablement again. Running the enablement shows these errors:


.....
ExportApplication:
[mkdir] Created dir: D:\IBM\CommerceServer60\components\wcportal\tempEAR
[move] Warning: Could not find file D:\IBM\AppServer\profiles\demo\properties\soap.client.props.yourOriginalFile to copy.
[copy] Copying 1 file to D:\IBM\AppServer\profiles\demo\properties

UpdateSOAPTimeout:
[wsadmin] profileName=demo registry=D:\IBM\AppServer\properties\profileRegistry.xml
[wsadmin] profileHome=D:\IBM\AppServer\profiles\demo
[wsadmin] WASX7209I: Connected to process "server1" on node WC_demo_node using SOAP connector; The type of process is: UnManagedProcess
[wsadmin] Exporting WC_demo to D:/IBM/CommerceServer60/components/wcportal/tempEAR/temp.ear
[move] Moving 1 file to D:\IBM\AppServer\profiles\demo\properties
[java] The java class is not found: com.ibm.websphere.management.application.commands.EARExpander

BUILD FAILED

D:\IBM\COMMER~1\COMPON~1\wcportal\xml\ENABLE~1.XML:74: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\ENABLE~1.XML:99: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\ENABLE~1.XML:125: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WCTasks.xml:12: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WCTasks.xml:24: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WASTasks.xml:113: Java returned: 1
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.Main.start(Main.java:150)
at com.ibm.commerce.config.ant.server.AntLauncher.main(AntLauncher.java:274)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
Caused by: D:\IBM\COMMER~1\COMPON~1\wcportal\xml\ENABLE~1.XML:99: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\ENABLE~1.XML:125: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WCTasks.xml:12: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WCTasks.xml:24: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WASTasks.xml:113: Java returned: 1
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 18 more
Caused by: D:\IBM\COMMER~1\COMPON~1\wcportal\xml\ENABLE~1.XML:125: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WCTasks.xml:12: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WCTasks.xml:24: The following error occurred while executing this line:
D:\IBM\COMMER~1\COMPON~1\wcportal\xml\WASTasks.xml:113: Java returned: 1
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)



If you encounter this error, install the fix and rerun the enablement script.

Users Affected
Users with WebSphere Commerce Version 6.0 Fix Pack 4 or higher and who want to enable the portal feature included in WebSphere Commerce Feature Pack 2.

Business Impact
Unable to enable the portal feature.

Problem Conclusion
Applying APAR LI73725 and then enabling the portal feature should no longer give you this error.

Prerequisites

Obtain UpdateInstaller V6.1.0.7 (or higher) at the link below to install this fix.

URL LANGUAGE SIZE(Bytes)
WebSphere Commerce Update Installer English 1

Installation Instructions

A readme file containing installation instructions is provided in the download file.

Download package


Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
What is Fix Central (FC)?
LI73725 for Feature Pack 2 22/10/2008 English 24907 HTTP

Problems (APARS) fixed
LI73725

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Commerce Enterprise
Maintenance

Software version:

6.0

Operating system(s):

AIX, Linux, Solaris, Windows, i5/OS

Software edition:

All Editions

Reference #:

4020878

Modified date:

2008-10-21

Translate my page

Machine Translation

Content navigation