com.ibm.commerce.foundation.dataimport.preprocess.CatalogHierarchyDataPreProcessor determineCatalogEntriesForCatalog(Connection connection, String catalogID)
INFO: The catalog with ID: 10051 contains 174468 catalog entries.
com.ibm.commerce.foundation.dataimport.preprocess.DataImportPreProcessorMain processDataConfig(DataProcessingConfig, String)
INFO: ORA-00001: unique constraint (SYS_C00151674) violated
If any of these 2 queries finds rows, that would be a good pointer and backup deletes and run the delete's and try again.
Rule 1: In Master catalog, you should always have 1 catalog entry belong to 1 master catalog category and CMC and dataload enforces that but if the data is loaded through another channel, this could happen.
1) To identify if there is a catalog entry that has more than one parent category, run the following SQL query against the database:
select catentry_id, catgroup_id from catgpenrel where catentry_id in (select catentry_id from catgpenrel where catalog_id = group by catentry_id having count(catentry_id) > 1)
where is the catalog ID value for which di-preprocess is being run.
The above query will provide a list of catalog entry IDs and the categories that they are mapped to if they are mapped to more than one category in the master catalog ID.
e.g.
select catentry_id, catgroup_id from catgpenrel
where catentry_id in (select catentry_id from catgpenrel where catalog_id = 10051 group by catentry_id having count(catentry_id) > 1);
Rule 2: You should have always 1 parent category for each master catalog category.
2) To identify if the issue is caused by a category having multiple parent categories in the master catalog, run the following SQL query against the database:
select catgroup_id_parent, catgroup_id_child from catgrprel where catalog_id = and catgroup_id_child in (select catgroup_id_child from catgrprel where catalog_id = group by catgroup_id_child having count(catgroup_id_child) > 1)
e.g.
select catgroup_id_parent, catgroup_id_child from catgrprel where catalog_id = 10051 and
catgroup_id_child in (select catgroup_id_child from catgrprel where catalog_id = 10051
group by catgroup_id_child having count(catgroup_id_child) > 1);
More Logging: Edit the logging.properties file:
Runtime location: WC_installdir/instances/ instance_name/xml/config/dataimport/logging.properties
Toolkit location: WCDE_INT70\workspace\WC\xml\config\dataimport\logging.properties
Verify that .level=FINEST and java.util.logging.FileHandler.level=FINEST
Verify that java.util.logging.FileHandler.limit=80000000
Verify that java.util.logging.FileHandler.count=10
INFO: The catalog with ID: 10051 contains 174468 catalog entries.
com.ibm.commerce.foundation.dataimport.preprocess.DataImportPreProcessorMain processDataConfig(DataProcessingConfig, String)
INFO: ORA-00001: unique constraint (SYS_C00151674) violated
If any of these 2 queries finds rows, that would be a good pointer and backup deletes and run the delete's and try again.
Rule 1: In Master catalog, you should always have 1 catalog entry belong to 1 master catalog category and CMC and dataload enforces that but if the data is loaded through another channel, this could happen.
1) To identify if there is a catalog entry that has more than one parent category, run the following SQL query against the database:
select catentry_id, catgroup_id from catgpenrel where catentry_id in (select catentry_id from catgpenrel where catalog_id = group by catentry_id having count(catentry_id) > 1)
where is the catalog ID value for which di-preprocess is being run.
The above query will provide a list of catalog entry IDs and the categories that they are mapped to if they are mapped to more than one category in the master catalog ID.
e.g.
select catentry_id, catgroup_id from catgpenrel
where catentry_id in (select catentry_id from catgpenrel where catalog_id = 10051 group by catentry_id having count(catentry_id) > 1);
Rule 2: You should have always 1 parent category for each master catalog category.
2) To identify if the issue is caused by a category having multiple parent categories in the master catalog, run the following SQL query against the database:
select catgroup_id_parent, catgroup_id_child from catgrprel where catalog_id = and catgroup_id_child in (select catgroup_id_child from catgrprel where catalog_id = group by catgroup_id_child having count(catgroup_id_child) > 1)
e.g.
select catgroup_id_parent, catgroup_id_child from catgrprel where catalog_id = 10051 and
catgroup_id_child in (select catgroup_id_child from catgrprel where catalog_id = 10051
group by catgroup_id_child having count(catgroup_id_child) > 1);
More Logging: Edit the logging.properties file:
Runtime location: WC_installdir/instances/ instance_name/xml/config/dataimport/logging.properties
Toolkit location: WCDE_INT70\workspace\WC\xml\config\dataimport\logging.properties
Verify that .level=FINEST and java.util.logging.FileHandler.level=FINEST
Verify that java.util.logging.FileHandler.limit=80000000
Verify that java.util.logging.FileHandler.count=10
I am Getting following error in WCS 7,Fix pack 6 and FEP5 while running di-preprocess.sh
ReplyDeleteWSVR0615W: The user.install.root system property is not set. Some product classes might not be found.
java.lang.ClassNotFoundException: com.ibm.commerce.foundation.dataimport.preprocess.DataImportPreProcessorMain
at java.net.URLClassLoader.findClass(URLClassLoader.java:419)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader. java:643)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
at java.lang.ClassLoader.loadClass(ClassLoader. java:609)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:244)
thanks..
The borrowers neglect to understand the expansion in liabilities when they are hypnotized by the sweet expressions of the loan specialists.
ReplyDeleteThis can cause an assortment of issues should your own data get into the wrong hands, also you will in all likelihood get a group of sales from loaning organizations.
ReplyDeleteInformative article. definitely here are you raised some great point of solr preprocessing-error. I have learned this blog many thing. Thanks for sharing this valuable content with us. I really appreciate you for that. Actually we have writing services company, its our social network edubirdie login here are our writers are providing essay writing service for students. Writing a good academic paper isn’t a simple job. It requires a lot of free time, hard efforts, good writing skills and knowledges. You may follow us for any kind of writing help. Thanks.
ReplyDeleteYour initial step ought to be to discover the best rate of payday advance on offer. Whichever payday advance organization you may pick you should realize what will be the settled sum that you will owe after finishing your payday advance.
ReplyDeleteYour article gives me another approach on the subject. I hope to read more articles from you.
ReplyDeleteEnhorabuena por el artículo, muy buena redacción, se nota claramente que le pones esfuerzo y ganas.
ReplyDeleteMuy buen post, gracias por compartir esta información, sin duda seguiré esperando a que subas más contenido.
ReplyDeleteMuy chulo el artículo, contiene información muy interesante, gracias por tu interés
ReplyDeleteMe encanta todo lo que cuentas en el post, es muy interesante y me encantaría que explicaras más sobre el tema.
ReplyDeleteNo es lo que buscaba en estos momentos, pero me he parado a leerlo y me ha interesado más de lo que me esperaba , muchísimas gracias
ReplyDeleteBuenas!! que interesante tu artículo, ha sido una información muy útil que estoy segura que usaré. Estoy deseando que subas nuevo contenido pronto. saludos <3
ReplyDeleteQue buen blog tenéis, me encanta leer todos vuestros artículos es de los mejores blog. Además son super útiles y claros
ReplyDelete