s***@mcsil.com
2007-01-09 08:29:26 UTC
I had a query related to catalog upload in the accelerator:
Is it possible to upload the ProductBean and ItemBean in separately ? I mean, if I have uploaded the ProductBean previously, is it possible to add just the ItemBeans later on?
I tried it a few times but I am getting the following error:
...
...
...
...
...
[1/4/07 12:16:44:537 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.DefaultHandler DefaultHandler::initialize Using unique index as defined for table [BIDPAYMENT]
[1/4/07 12:16:44:537 IST] 0000008c CommerceSrvr W com.ibm.wca.IdResGen.Handler.DefaultHandler DefaultHandler::initialize The Table [BIDPAYMENT] did not define a resolve key, and there is no unique index on the table
[1/4/07 12:16:44:553 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.HandlerToken getLookAsideForString Info: SELECT BASEITEM_ID FROM DB2ADMIN.BASEITEM WHERE MEMBER_ID = 7000000000000000051 AND PARTNUMBER = '300001-102110-001'
[1/4/07 12:16:44:569 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.HandlerToken executeFetch Info: SELECT ITEMSPC_ID FROM DB2ADMIN.ITEMSPC WHERE PARTNUMBER = '300001-102110-001 Item' AND MEMBER_ID = 7000000000000000051
[1/4/07 12:16:44:569 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.Primary reserveIDPool Locking table "KEYS" for exclusive access.
[1/4/07 12:16:44:584 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.Primary reserveIDPool Table "KEYS" is unlocked.
[1/4/07 12:16:44:584 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.HandlerToken getLookAsideForString Info: SELECT ITEMVERSN_ID FROM DB2ADMIN.ITEMVERSN WHERE BASEITEM_ID = itemversn_id_300001-102110-001 AND VERSIONNAME IS NULL
[1/4/07 12:16:44:615 IST] 0000008c CommerceSrvr W com.ibm.wca.IdResGen.Handler.HandlerToken getLookAsideForString Warning: [IBM][CLI Driver][DB2/NT] SQL0206N "ITEMVERSN_ID_300001" is not valid in the context where it is used. SQLSTATE=42703
[1/4/07 12:16:44:631 IST] 0000008c CommerceSrvr E com.ibm.wca.IdResGen.Parser.RecordAttributes updateValue The attribute "ITEMVERSN_ID" is unresolved.
[1/4/07 12:16:44:631 IST] 0000008c CommerceSrvr E com.ibm.wca.IdResGen.IdResolve execute Error parsing the file : nulltemp\catalogimport\10001\wccatalog.xml:TERMINATE
[1/4/07 12:16:44:647 IST] 00000042 CommerceSrvr I com.ibm.commerce.tools.devtools.publish.tasks.idresolve.IdResolverTaskCmdImpl performExecute CMN4512I:
UnresolvedID
The attribute "ITEMVERSN_ID" is unresolved.
<versionspc
  itemspc_id="10251"
  itemversn_id=""
  versionspc_id=&***@versionspc_id_300001-102110-001 Item_7000000000000000051_300001-102110-001"
>
--------------------
[1/4/07 12:16:44:678 IST] 00000042 CommerceSrvr E com.ibm.commerce.tools.devtools.publish.tasks.idresolve.IdResolverTaskCmdImpl performExecute IdResolver failed to resolve the input file nulltemp\catalogimport\10001\wccatalog.xml. Ensure the data contained in the input file correctly matches the database schema.
Correlation Identity: 5769ec60-9bbf-11db-bab4-83d7459c8964
Additional Data:
null
Current exception:
Message:
_INF_TEXT
Stack trace:
com.ibm.commerce.exception.ECSystemException:
UnresolvedID
The attribute "ITEMVERSN_ID" is unresolved.
<versionspc
  itemspc_id="10251"
  itemversn_id=""
  versionspc_id=&***@versionspc_id_300001-102110-001 Item_7000000000000000051_300001-102110-001"
>
--------------------
at com.ibm.commerce.tools.devtools.publish.tasks.idresolve.IdResolverTaskCmdImpl.performExecute(IdResolverTaskCmdImpl.java:302)
at com.ibm.commerce.command.ECCommandTarget.executeCommand(ECCommandTarget.java:161)
at com.ibm.ws.cache.command.CommandCache.executeCommand(CommandCache.java:335)
at com.ibm.websphere.command.CacheableCommandImpl.execute(CacheableCommandImpl.java(Compiled Code))
at com.ibm.commerce.command.AbstractECTargetableCommand.execute(AbstractECTargetableCommand.java:180)
at com.ibm.commerce.catalogimport.commands.CatalogTransformer.resolveId(CatalogTransformer.java:273)
at com.ibm.commerce.catalogimport.commands.CatalogTransformer.execute(CatalogTransformer.java:158)
at com.ibm.commerce.catalogimport.commands.PublishCatalogFileProcess.transform(PublishCatalogFileProcess.java:1134)
at com.ibm.commerce.catalogimport.commands.PublishCatalogFileProcess.run(PublishCatalogFileProcess.java:1051)
at com.ibm.commerce.scheduler.SchedulerThread.process(SchedulerThread.java:183)
at com.ibm.commerce.scheduler.SchedulerSecurityPriviledgedAction.run(SchedulerSecurityPriviledgedAction.java:59)
at com.ibm.commerce.scheduler.SchedulerThread.run(SchedulerThread.java:125)
End of exception traces.
Is it possible to upload the ProductBean and ItemBean in separately ? I mean, if I have uploaded the ProductBean previously, is it possible to add just the ItemBeans later on?
I tried it a few times but I am getting the following error:
...
...
...
...
...
[1/4/07 12:16:44:537 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.DefaultHandler DefaultHandler::initialize Using unique index as defined for table [BIDPAYMENT]
[1/4/07 12:16:44:537 IST] 0000008c CommerceSrvr W com.ibm.wca.IdResGen.Handler.DefaultHandler DefaultHandler::initialize The Table [BIDPAYMENT] did not define a resolve key, and there is no unique index on the table
[1/4/07 12:16:44:553 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.HandlerToken getLookAsideForString Info: SELECT BASEITEM_ID FROM DB2ADMIN.BASEITEM WHERE MEMBER_ID = 7000000000000000051 AND PARTNUMBER = '300001-102110-001'
[1/4/07 12:16:44:569 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.HandlerToken executeFetch Info: SELECT ITEMSPC_ID FROM DB2ADMIN.ITEMSPC WHERE PARTNUMBER = '300001-102110-001 Item' AND MEMBER_ID = 7000000000000000051
[1/4/07 12:16:44:569 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.Primary reserveIDPool Locking table "KEYS" for exclusive access.
[1/4/07 12:16:44:584 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.Primary reserveIDPool Table "KEYS" is unlocked.
[1/4/07 12:16:44:584 IST] 0000008c CommerceSrvr I com.ibm.wca.IdResGen.Handler.HandlerToken getLookAsideForString Info: SELECT ITEMVERSN_ID FROM DB2ADMIN.ITEMVERSN WHERE BASEITEM_ID = itemversn_id_300001-102110-001 AND VERSIONNAME IS NULL
[1/4/07 12:16:44:615 IST] 0000008c CommerceSrvr W com.ibm.wca.IdResGen.Handler.HandlerToken getLookAsideForString Warning: [IBM][CLI Driver][DB2/NT] SQL0206N "ITEMVERSN_ID_300001" is not valid in the context where it is used. SQLSTATE=42703
[1/4/07 12:16:44:631 IST] 0000008c CommerceSrvr E com.ibm.wca.IdResGen.Parser.RecordAttributes updateValue The attribute "ITEMVERSN_ID" is unresolved.
[1/4/07 12:16:44:631 IST] 0000008c CommerceSrvr E com.ibm.wca.IdResGen.IdResolve execute Error parsing the file : nulltemp\catalogimport\10001\wccatalog.xml:TERMINATE
[1/4/07 12:16:44:647 IST] 00000042 CommerceSrvr I com.ibm.commerce.tools.devtools.publish.tasks.idresolve.IdResolverTaskCmdImpl performExecute CMN4512I:
UnresolvedID
The attribute "ITEMVERSN_ID" is unresolved.
<versionspc
  itemspc_id="10251"
  itemversn_id=""
  versionspc_id=&***@versionspc_id_300001-102110-001 Item_7000000000000000051_300001-102110-001"
>
--------------------
[1/4/07 12:16:44:678 IST] 00000042 CommerceSrvr E com.ibm.commerce.tools.devtools.publish.tasks.idresolve.IdResolverTaskCmdImpl performExecute IdResolver failed to resolve the input file nulltemp\catalogimport\10001\wccatalog.xml. Ensure the data contained in the input file correctly matches the database schema.
Correlation Identity: 5769ec60-9bbf-11db-bab4-83d7459c8964
Additional Data:
null
Current exception:
Message:
_INF_TEXT
Stack trace:
com.ibm.commerce.exception.ECSystemException:
UnresolvedID
The attribute "ITEMVERSN_ID" is unresolved.
<versionspc
  itemspc_id="10251"
  itemversn_id=""
  versionspc_id=&***@versionspc_id_300001-102110-001 Item_7000000000000000051_300001-102110-001"
>
--------------------
at com.ibm.commerce.tools.devtools.publish.tasks.idresolve.IdResolverTaskCmdImpl.performExecute(IdResolverTaskCmdImpl.java:302)
at com.ibm.commerce.command.ECCommandTarget.executeCommand(ECCommandTarget.java:161)
at com.ibm.ws.cache.command.CommandCache.executeCommand(CommandCache.java:335)
at com.ibm.websphere.command.CacheableCommandImpl.execute(CacheableCommandImpl.java(Compiled Code))
at com.ibm.commerce.command.AbstractECTargetableCommand.execute(AbstractECTargetableCommand.java:180)
at com.ibm.commerce.catalogimport.commands.CatalogTransformer.resolveId(CatalogTransformer.java:273)
at com.ibm.commerce.catalogimport.commands.CatalogTransformer.execute(CatalogTransformer.java:158)
at com.ibm.commerce.catalogimport.commands.PublishCatalogFileProcess.transform(PublishCatalogFileProcess.java:1134)
at com.ibm.commerce.catalogimport.commands.PublishCatalogFileProcess.run(PublishCatalogFileProcess.java:1051)
at com.ibm.commerce.scheduler.SchedulerThread.process(SchedulerThread.java:183)
at com.ibm.commerce.scheduler.SchedulerSecurityPriviledgedAction.run(SchedulerSecurityPriviledgedAction.java:59)
at com.ibm.commerce.scheduler.SchedulerThread.run(SchedulerThread.java:125)
End of exception traces.