cancel
Showing results for 
Search instead for 
Did you mean: 

Classification Problem: Documents are not Classified automatically!

Former Member
0 Kudos

Hi All

I am having a slight issue with Taxonomies and Document Classifcation.

I have a custom property which contains a selection of values and this property is attached to a News Form (XML Form). When the form is completed the the news is meant to be classified into the various taxonomy structure - but it is not!!

I have had a look into the logs and have noticed a few messages:

<i>#1.5#0014C261574D0075000000640000101400042BA6207B02A9#1173892416369#com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex#sap.com/irj#com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex#Guest#0####f986e160d22911db86ac0014c261574d#Thread[KM RF Event Sender: com.sapportals.wcm.service.indexmanagement.IndexService,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error#1#/Applications/KMC/Indexmanagement#Plain###Indexing document failed Resource: /arco_content/business/market_development/6057563c-7db4-2910-4094-fc660152647b.xml Error message: Unknown Hostname (Errorcode 8002) #

#1.5#0014C261574D0075000000650000101400042BA6207B04E1#1173892416369#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(62)#Guest#0####f986e160d22911db86ac0014c261574d#Thread[KM RF Event Sender: com.sapportals.wcm.service.indexmanagement.IndexService,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###AbstractTrexIndex: indexing some of the resources failed com.sapportals.wcm.service.indexmanagement.IndexErrorContainerException: AbstractTrexIndex: indexing some of the resources failed

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.internalIndexDocuments(AbstractTrexIndex.java:4104)

at com.sapportals.wcm.service.indexmanagement.retrieval.classification.AbstractClassificationIndex.internalIndexDocuments(AbstractClassificationIndex.java:2105)

at com.sapportals.wcm.service.indexmanagement.AbstractIndex.indexDocument(AbstractIndex.java:788)

at com.sapportals.wcm.service.indexmanagement.ResourceIndexer.index(ResourceIndexer.java:72)

at com.sapportals.wcm.service.indexmanagement.IndexService.indexOrDeindex(IndexService.java:1733)

at com.sapportals.wcm.service.indexmanagement.IndexService.indexEventDriven(IndexService.java:1710)

at com.sapportals.wcm.service.indexmanagement.IndexService.documentActionIndex(IndexService.java:1476)

at com.sapportals.wcm.service.indexmanagement.IndexService.received(IndexService.java:1419)

at com.sapportals.wcm.service.indexmanagement.IndexService.received(IndexService.java:1252)

at com.sapportals.wcm.util.events.EventSenderThread.run(EventSenderThread.java:62)

#

#1.5#0014C261574D0075000000660000101400042BA6207B0613#1173892416369#com.sapportals.wcm.service.indexmanagement.ResourceIndexer#sap.com/irj#com.sapportals.wcm.service.indexmanagement.ResourceIndexer#Guest#0####f986e160d22911db86ac0014c261574d#Thread[KM RF Event Sender: com.sapportals.wcm.service.indexmanagement.IndexService,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###Error indexing resource: AbstractTrexIndex: indexing some of the resources failed - com.sapportals.wcm.service.indexmanagement.IndexErrorContainerException: AbstractTrexIndex: indexing some of the resources failed

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.internalIndexDocuments(AbstractTrexIndex.java:4104)

at com.sapportals.wcm.service.indexmanagement.retrieval.classification.AbstractClassificationIndex.internalIndexDocuments(AbstractClassificationIndex.java:2105)

at com.sapportals.wcm.service.indexmanagement.AbstractIndex.indexDocument(AbstractIndex.java:788)

at com.sapportals.wcm.service.indexmanagement.ResourceIndexer.index(ResourceIndexer.java:72)

at com.sapportals.wcm.service.indexmanagement.IndexService.indexOrDeindex(IndexService.java:1733)

at com.sapportals.wcm.service.indexmanagement.IndexService.indexEventDriven(IndexService.java:1710)

at com.sapportals.wcm.service.indexmanagement.IndexService.documentActionIndex(IndexService.java:1476)

at com.sapportals.wcm.service.indexmanagement.IndexService.received(IndexService.java:1419)

at com.sapportals.wcm.service.indexmanagement.IndexService.received(IndexService.java:1252)

at com.sapportals.wcm.util.events.EventSenderThread.run(EventSenderThread.java:62)

#

#1.5#0014C261574D0075000000680000101400042BA6207C0A6B#1173892416447#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#Guest#0####f986e160d22911db86ac0014c261574d#Thread[KM RF Event Sender: com.sapportals.wcm.service.indexmanagement.IndexService,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###Unknown Hostname (Errorcode 8002) com.sapportals.trex.TrexException: Unknown Hostname (Errorcode 8002)

at com.sapportals.trex.core.util.HttpRequest.run_it(HttpRequest.java:481)

at com.sapportals.trex.core.util.HttpRequest.run(HttpRequest.java:111)

at com.sapportals.trex.core.util.HttpRequest.run(HttpRequest.java:95)

at com.sapportals.trex.core.HttpTextMining.classifyDocuments(HttpTextMining.java:204)

at com.sapportals.trex.core.TextMiningManager.classifyDocuments(TextMiningManager.java:714)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.trexClassification(AbstractTrexIndex.java:2970)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.internalClassifyDocuments(AbstractTrexIndex.java:2835)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.internalClassifyDocuments(AbstractTrexIndex.java:2775)

at com.sapportals.wcm.service.indexmanagement.retrieval.classification.AbstractClassificationIndex.unfilteredClassifyDocuments(AbstractClassificationIndex.java:1922)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.addTaxonomyPropertiesAlternatveTwo(AbstractTrexIndex.java:4744)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.addTaxonomyProperties(AbstractTrexIndex.java:4597)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.internalIndexDocuments(AbstractTrexIndex.java:4043)

at com.sapportals.wcm.service.indexmanagement.retrieval.classification.AbstractClassificationIndex.internalIndexDocuments(AbstractClassificationIndex.java:2105)

at com.sapportals.wcm.service.indexmanagement.AbstractIndex.indexDocument(AbstractIndex.java:788)

at com.sapportals.wcm.service.indexmanagement.ResourceIndexer.index(ResourceIndexer.java:72)

at com.sapportals.wcm.service.indexmanagement.IndexService.indexOrDeindex(IndexService.java:1733)

at com.sapportals.wcm.service.indexmanagement.IndexService.indexEventDriven(IndexService.java:1710)

at com.sapportals.wcm.service.indexmanagement.IndexService.documentActionIndex(IndexService.java:1476)

at com.sapportals.wcm.service.indexmanagement.IndexService.received(IndexService.java:1419)

at com.sapportals.wcm.service.indexmanagement.IndexService.received(IndexService.java:1239)

at com.sapportals.wcm.util.events.EventSenderThread.run(EventSenderThread.java:62)

#</i>

If any one has any ideas on how to fix this that would be great!

Cheers

Phil

Message was edited by:

Phil Wade

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

The solution is note 571798

Former Member
0 Kudos

We have changed the etc/hosts but it does not make any difference

Former Member
0 Kudos

Hi Phil

I'm not totally sure, but I believe I experienced a similar problem on a SPS18 installation. What version are you on?

(The SPS18 patch 1 took care of the problem as I recall).

Kind regards,

Martin

Actually I'm not sure at all that your error is the same as the one, I experienced. But have you tried contacting SAP Support btw?

Message was edited by:

Søgaard Martin

Former Member
0 Kudos

Hi

Alternative Host was not set. But now it is, it doesn't help.

Our TREX is running on a separate system for several portals, all on HP-UX.

Rob

former_member217429
Active Contributor
0 Kudos

Hi Rob,

the error code 8002 means that the Portal host or host specified as the alternative Host in URL generator are not reachable form the TREX. It's the network issue which could be solved either by the specificaton of the proxy server in the TREXPreprocessor.ini (if the TREX and Portal are located in the different domains, or you use firewall inbetween) or by the specification of the Portal server name and ip in the "hosts" file on the TREX server.

Best regards,

Mikhail

detlev_beutner
Active Contributor
0 Kudos

Hi Phil & Rob,

Please check the entry of the "Host" and the "Alternative Host" under SysAdmin - SysConfig - KM - CM - Config - CM - Global Services (advanced) - URL Generator Service.

The host names filled in there must be resolvable from the TREX server.

Hope it helps

Detlev

Former Member
0 Kudos

We have the same issue with a taxonomie:

WcmException: Unknown Hostname (Errorcode 8002)

Has anyone a solution?

Former Member
0 Kudos

I have found some more info on the item it is trying to classify:

<i>An error occurred during classificationError while classifying resource /arco_content/business/sales_development/d05681af-05b5-2910-3793-e12cd06faa3f.xml for taxonomy SalesDevelopment.com.sapportals.wcm.WcmException: Unknown Hostname (Errorcode 8002)</i>

Does anyone know where this host name setting is?

Thanks

Phil