Technote

(troubleshooting)
ERR_NO_ELIGIBLE_TRADING error during logon
Problem(Abstract)
You notice the currency conversion that takes place at logon time fails due to a "No eligible trading agreements" error.
Symptom
You see an error similar to the following in the SystemOut.log file:

[11/9/07 9:21:39:000 EST] 0000003b BeanMetaData A CNTR0098I: Container-managed pre-find persistent store synchronization disabled for bean: "WC_demo#Order-OrderCaptureData.jar#OrderItemComponentRelations".
[11/9/07 9:21:39:156 EST] 0000003b CommerceSrvr A com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl updatePrice
No eligible trading agreements can be found for the user.
[11/9/07 9:21:39:391 EST] 0000003b ServletWrappe A SRVE0242I: [WC_demo] [/webapp/wcs/stores] [/ConsumerDirect/GenericError.jsp]: Initialization successful.
[11/9/07 9:21:57:750 EST] 0000003b ServletWrappe A SRVE0242I: [WC_demo] [/webapp/wcs/stores] [/ConsumerDirect/UserArea/AccountSection/MyAccountDisplay.jsp]: Initialization successful. [11/9/07 9:22:48:219 EST] 0000003b CommerceSrvr A com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl updatePrice
No eligible trading agreements can be found for the user.

Cause The currency conversion that takes place at logon may fail due to a "No eligible trading agreements" error. This is due to a program defect. Environment WebSphere Commerce 6.0.0.3 Diagnosing the problem The following scenario will cause the problem:

  1. In a store enabled for multiple currencies, login as a registered user and add items to the cart using Currency A.

  2. Logoff.

  3. As a guest user, add items to the cart using Currency B.

  4. Login as the registered user from step 1. The currency conversion that takes place at logon time fails due to a "No eligible trading agreements" error.

Resolving the problem The problem (APAR LI72791) is resolved in Fix Pack 6.0.0.4 or newer. You can obtain Fix Pack 6.0.0.4 or newer from the WebSphere Commerce Fixes by version page.
Once you apply the fix, also ensure that the PRICEREFFLAGS field for your particular store is set to 8 in the STORES table.
Cross Reference information
Segment Product Component Platform Version Edition
Commerce WebSphere Commerce - Express Configuration i5/OS, Linux, Windows 6.0.0.3
Commerce WebSphere Commerce Professional Edition Configuration AIX, i5/OS, Linux, Solaris, Windows 6.0.0.3
   

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21290407