Troubleshooting: WSProfileException error logged

The updatetrace.log or export log file shows a WSProfileException error during a fix pack installation on your WebSphere Commerce instance.

Problem

If the last message in the exportear_instance_name.log is stopWCApplications or stopPMApplications, check the following log file for a WSProfileException error:
  • UPDI_installdir/logs/tmp/updatetrace.log
For example:
2007.09.25 17:04:45.984 EDT	Failed to export the WebSphere 
Commerce instance to C:\DOCUME~1\user\LOCALS~1\Temp\wcupdate 
directory.
2007.09.25 17:04:46.015 EDT	C:\WebSphere\CommerceServer60\config\
deployment\xml\exportEar.xml:55: The following error occurred while
 executing this line:
C:\WebSphere\CommerceServer60\config\deployment\xml\exportEar.xml:145:
 WSProfileException profileName=wpm

Solution

If you experience this error message, run the following command to ensure that your profile is registered:
  • WindowsWAS_installdir/bin/wasprofile.bat -listProfiles
  • SolarisLinuxAIXWAS_installdir/bin/wasprofile.sh -listProfiles
  • For IBM i OS operating systemWAS_installdir/bin/wasprofile -listProfiles
If the profile is not listed in the output of this command, contact WebSphere Commerce Support.