Topic
  • 1 reply
  • Latest Post - ‏2012-10-01T19:36:54Z by borenst
AussieSolutionArchitect
1 Post

Pinned topic Distributor Proxy Referral Contracts

‏2012-09-28T08:33:12Z |
I have tried to import the XML based on the TemplateReferralContract.xml to enable the distributors in Demand Chain (Commerce Plaza). I constantly get failure and the trace logs are as follows. It looks like the Business Policies are incorrect but I am not sure why. I used the standard settings in the template as shown below. The other thing I might have wrong is different ORGS I am using for DISTRIBUTOR_ORG_DISTINGUISHED_NAME, SERVICE_PROVIDER_ORG_DISTINGUISHED_NAME and PROFILE_ORG_DISTINGUISHED_NAME. An old RED BOOK also said you have to create a user for all the distributor orgs to create referral agreements but INFOCENTER says nothing. The only other really suspect area of the XML is the MessageProfile elements but the errors do not indicate that this is a problem (yet).

Without referral agreements being enabled, DEMAND CHAIN is next to useless. I really need any help that anyone can offer!

<BusinessPolicy name="NthDistRegion DistributorConnector" type="ReferralInterface"
properties="name=NthDistRegion&amp;backOrders=true&amp;timeout=60&amp;uomStandard=each">
<Command class="com.ibm.commerce.messaging.commands.GetPriceAndAvailabilityCmdImpl"
properties="enabled=true&amp;authenticationRequired=true&amp;timeout=30" />
<Command class="com.ibm.commerce.messaging.commands.TransferShopcartCmdImpl"
properties="enabled=true&amp;authenticationRequired=true&amp;timeout=20" />
<Command class="com.ibm.commerce.messaging.commands.GetBatchAvailabilityCmdImpl"
properties="enabled=true&amp;authenticationRequired=true&amp;timeout=3600" />
<Command class="com.ibm.commerce.orderquotation.commands.GetUOMCodePolicyCmdImpl"
properties="enabled=true" />
</BusinessPolicy>
28/09/12 17:21:20:272 EST 000003e0 webcontainer E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /webapp/PaymentManager/PaymentServlet has not been defined.
28/09/12 17:23:26:233 EST 000001d6 webcontainer E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /webapp/PaymentManager/PaymentServlet has not been defined.
28/09/12 17:36:35:151 EST 000001d6 webcontainer E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /webapp/PaymentManager/PaymentServlet has not been defined.
28/09/12 17:38:37:045 EST 000001d6 webcontainer E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /webapp/PaymentManager/PaymentServlet has not been defined.
28/09/12 17:39:20:579 EST 00000062 CommerceSrvr A com.ibm.commerce.contract.commands.ContractTCFactory createNewTC An error occurred when retrieving policy_id. The information specified in "PolicyReference" element is incorrect.
28/09/12 17:39:20:579 EST 00000062 CommerceSrvr A com.ibm.commerce.contract.commands.ContractUploadCmdImpl performExecute An error occurred when retrieving policy_id. The information specified in "PolicyReference" element is incorrect.
28/09/12 17:39:43:197 EST 00000062 CommerceSrvr A com.ibm.commerce.contract.commands.ContractTCFactory createNewTC An error occurred when retrieving policy_id. The information specified in "PolicyReference" element is incorrect.
28/09/12 17:39:43:199 EST 00000062 CommerceSrvr A com.ibm.commerce.contract.commands.ContractUploadCmdImpl performExecute An error occurred when retrieving policy_id. The information specified in "PolicyReference" element is incorrect.
Updated on 2012-10-01T19:36:54Z at 2012-10-01T19:36:54Z by borenst
  • borenst
    borenst
    99 Posts

    Re: Distributor Proxy Referral Contracts

    ‏2012-10-01T19:36:54Z  
    I suspect the error is coming from loading the DeploymentReferralContract.xml which is also being loaded during this process. Check the definitions in that file. You may also want to turn on com.ibm.websphere.commerce.WC_CONTRACT=all tracing to see if that provides any more details.

    Howard