WebSphere Commerce suite - Debugging without source codes?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > August 2005 > Debugging without source codes?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Debugging without source codes?

2005-08-01, 8:34 am

Hi folks,

I have following problem:

We're using WCS BE 5.6 and are making some changes in Accelerator. I've made successfully created all required xmls, now I have new button on order list page. Cool. Also, my new page is shown when I click the button. Cool. But then when I click OK on the
dialog, Generic Application Error is shown (!inside the dialog page ) and following "information" is written into console:

[1.8.05 14:49:56:224 CEST] 69a169a1 SystemOut O ErrorDataBean:
Originating command:

Very important and descriptive information, which really helped me a lot, if you ask me ;)

while debugging 'blindly' (without source codes), last thing that I can see in 'variables' view is authenticatedSubject=null. So I suppose something may be wrong with user rights (?). I'm logged in wcs as wcsadmin.

Any ideas how to solve this one? How can one debug without source codes, when he gets such "informative" errors in console?

Thanks Tomas

2005-08-01, 6:00 pm

btw. the command itself extends ToolsControllerCommandImpl as is written in infocenter. I have successfully executed the command via shop URL, so the command is properly registered in reg* tables and performExecute works.

Some trace messages, which differs (my command vs OrderCancel - which I took as a reference):


------------------------------------------
my command: (OrderLinkWithOrderInOtherSystem)
------------------------------------------

16:48:18.216 com.ibm.commerce.webcontroller.ControllerCmdExecUnit execute Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
Entry

16:48:18.216 com.ibm.commerce.webcontroller.ControllerCmdExecUnit execute Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
commandName=OrderLinkWithOrderNumberInOt
herSystem

16:48:18.216 com.ibm.commerce.webcontroller.ControllerCmdExecUnit execute Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
Exit

16:48:18.216 com.ibm.commerce.webcontroller.WebController requestCancelled Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
is false

16:48:18.216 TransactionManager rollback Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
Entry

16:48:18.216 TransactionManager rollback Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
transaction state =0

16:48:18.216 TransactionManager rollback Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
Exit

16:48:18.216 com.ibm.commerce.command.CommandContextImpl setUserId Servlet.Engine.Transports : 0 com.ibm.websphere.commerce.WC_SERVER
set to -1000

------------------------------------------
OrderCancel
------------------------------------------
16:52:52.641 com.ibm.commerce.webcontroller.ControllerCmdExecUnit execute Servlet.Engine.Transports : 1 com.ibm.websphere.commerce.WC_SERVER
Entry

16:52:52.641 com.ibm.commerce.webcontroller.ControllerCmdExecUnit execute Servlet.Engine.Transports : 1 com.ibm.websphere.commerce.WC_SERVER
commandName=CSROrderCancel

16:52:52.651 com.ibm.commerce.command.ECCommandTarget executeCommand Servlet.Engine.Transports : 1 com.ibm.websphere.commerce.WC_SERVER
Entry

16:52:52.651 CommandExecutionTriggersRegistry getTriggers Servlet.Engine.Transports : 1 com.ibm.websphere.commerce.WC_SERVER
storePath length=1

16:52:52.651 CommandExecutionTriggersRegistry getTriggers Servlet.Engine.Transports : 1 com.ibm.websphere.commerce.WC_SERVER
cannot find entry with key com.ibm.commerce.tools.optools.order.commands.CSROrderCancelCmd&0

16:52:52.651 AccManager canUserExecuteCommand Servlet.Engine.Transports : 1 com.ibm.websphere.commerce.WC_SERVER
Entry

16:52:52.651 com.ibm.commerce.command.CommandContextImpl getStore Servlet.Engine.Transports : 1 com.ibm.websphere.commerce.WC_SERVER
storeId=10001 store=com.ibm.commerce.registry.StoreCopy@73d273d2



<totally_desperate/>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com