Hello all, I am working on WCS 5.1 Pro for Win 2000. I am not able to deploy the simple Controller command on WCSuite, but the same command is working fine in WTE. Following is description of the problem.
What we have done:
1-Installed Commerce Suite 5.1 and created an instance called 'WCS' and published 'InFashion' successfully
2- Installed Commerce Studio
3- Installed VAJava 3.5
4-Followed the 'ProgrammersGuide.pdf' Ch8. Imported the _WCSSamples repository and changed the ownership to WCS Developer Started writing new command "MyNewControllerCmd" under "com.ibm.commerce.sample.commands" package.
5- Added a record in URLREG, VIEWREG, and CMDREG tables with classname, interface name, desc etc.
6-Added a field in MyNewControllerCmd:
defaultCommandClassName = "com.ibm.commerce.sample.commands.MyNewControllerCmdImpl".
7-Uncommented Section 1 and Section 5 in "performExecute" method of "MyNewControllerCmdImpl" class
8-Exported the class files to a jar file. (samplecmd.jar)
9-Added samplecmd.jar in the WCS\lib\ folder
10-Added in extended classpath of Application server console.
11-Restarted the Appserver
12-When we tried the
Servlet in the browser "http://wcs/webapp/wcs/stores/servlet/MyCmdControllerCmd"
_ERR_CMD_CANNOT_INSTANTIATE_COMMAND errror has come.
We need help to:
1- Find out why this error is coming?
2- What can we do to fix it?
3- Is there some better way of looking up for error description using the error codes that WCS displays?
Thanks in advance.
Janardhan