ElasticSearch username as Null

Hi, We configured ElasticSearch with Oracle CMS(WCC 12c) for a Single Node Elasticsearch on Linux. and migrated ~4 Million contents to this newer CMS. The configurations seems correct and username is set however noticed below errors in logs. We are also facing issues running the Full collection rebuild for indexing. So, if it is the same issue that is causing this?

esConnStrings -> :; username -> null; certPath -> es01.p12
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.elasticsearch.client.RestClient.(RestClient.java:99)
at intradoc.elasticsearch.client.ElasticSearchConnectionClient.initSecureElasticSearchRestClient(ElasticSearchConnectionClient.java:246)
at intradoc.elasticsearch.client.ElasticSearchConnectionClient.init(ElasticSearchConnectionClient.java:118)
at intradoc.elasticsearch.indexer.ElasticSearchCollectionHandler.validateConfiguration(ElasticSearchCollectionHandler.java:751)
at intradoc.server.SearchLoader.refreshCollectionData(SearchLoader.java:799)
at intradoc.server.subject.DynamicQueriesSubjectCallback.checkSearchIndexDesign(DynamicQueriesSubjectCallback.java:418)
at intradoc.server.subject.DynamicQueriesSubjectCallback.refresh(DynamicQueriesSubjectCallback.java:53)
at intradoc.server.IdcSystemLoader.loadCachedTables(IdcSystemLoader.java:1501)
at intradoc.server.IdcSystemLoader.loadCaches(IdcSystemLoader.java:1333)
at intradoc.apps.shared.StandAloneApp.finishLoad(StandAloneApp.java:345)
at intradoc.apps.shared.StandAloneApp.initSystem(StandAloneApp.java:282)
at intradoc.apps.shared.StandAloneApp.init(StandAloneApp.java:113)
at intradoc.apps.shared.AppLauncher.init(AppLauncher.java:253)
at IdcAnalyze.main(IdcAnalyze.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at intradoc.loader.IdcClassLoader.invokeMain(IdcClassLoader.java:392)
at intradoc.loader.IdcClassLoader.startMain(IdcClassLoader.java:187)
at intradoc.loader.IdcClassLoader.main(IdcClassLoader.java:152)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

Welcome to our community! :smiley:

Where is that error coming from exactly?

Thanks. This error comes when trying to run IdcAnalyzer which is a WebCenter Content (WCC) Tool used to Check if the Database, File System, and Index are all in Sync. We running this tool since we are getting another error while Full collection rebuild for Indexing .

I earlier noted that the cert es01.p12 mentioned was of 0 bytes before and i replaced it the correct certificate. Is their a way to check if there any issues with the certificate

@warkolm and others . Any inputs please. Collection rebuild for indexing fails with below error on Oracle CMS. 2 difference instances are pointing to same ElasticSearch.

index rebuild work Unable to index metadata only. This may indicate the collection is damaged. Indexing aborted.

systemdatabase/6 06.29 11:21:56.328 index rebuild work !csMonitorActiveDbConnections,0
systemdatabase/6 06.29 11:21:56.328 index rebuild work Connection with id of 'index rebuild work.3' is removed from active connections with key of '18238'.
systemdatabase/6 06.29 11:21:56.328 index rebuild work release pool connection
(internal)/3 06.29 11:21:56.328 index rebuild work !csIndexerAbortedMsg intradoc.common.ServiceException: !csIndexerMetaOnlyFailed
(internal)/3 06.29 11:21:56.328 index rebuild work at intradoc.indexer.IndexerBulkLoader.handleIndexerResults(IndexerBulkLoader.java:601)
(internal)/3 06.29 11:21:56.328 index rebuild work at intradoc.indexer.IndexerBulkLoader.createBulkLoad(IndexerBulkLoader.java:373)

Sorry but we don't support that tool ourselves, and given that error is coming from there it's nothing that we can help with unless there is an actual Elasticsearch error reported somewhere.

@warkolm The error from ElasticSearch for this issue is reported at this thread. Can you provide some inputs
Full Collection rebuild for Indexing fails

Let's continue the discussion there then, as it has relevant info.