# ElasticSearch username as Null

**URL:** <https://discuss.elastic.co/t/elasticsearch-username-as-null/277081>\
**Category:** Elasticsearch\
**Created:** [June 25, 2021, 3:19pm UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081 "2021-06-25T15:19:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boodle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boodle/32/86046_2.png) [@Boodle](https://discuss.elastic.co/u/Boodle)\
**Post date:** [June 25, 2021, 3:19pm UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/1 "2021-06-25T15:19:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 28, 2021, 12:21am UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/2 "2021-06-28T00:21:20Z")

</div>

Welcome to our community! 😃

Where is that error coming from exactly?

---

<div class="post-metadata">

**Author:** ![Boodle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boodle/32/86046_2.png) [@Boodle](https://discuss.elastic.co/u/Boodle)\
**Post date:** [June 28, 2021, 2:22pm UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/3 "2021-06-28T14:22:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Boodle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boodle/32/86046_2.png) [@Boodle](https://discuss.elastic.co/u/Boodle)\
**Post date:** [July 2, 2021, 5:50pm UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/4 "2021-07-02T17:50:38Z")

</div>

@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)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 5, 2021, 2:04am UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/5 "2021-07-05T02:04:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Boodle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boodle/32/86046_2.png) [@Boodle](https://discuss.elastic.co/u/Boodle)\
**Post date:** [July 6, 2021, 2:53am UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/6 "2021-07-06T02:53:31Z")

</div>

@warkolm The error from ElasticSearch for this issue is reported at this thread. Can you provide some inputs  
[Full Collection rebuild for Indexing fails](https://discuss.elastic.co/t/full-collection-rebuild-for-indexing-fails/277679)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 6, 2021, 2:58am UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/7 "2021-07-06T02:58:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 6, 2021, 2:58am UTC](https://discuss.elastic.co/t/elasticsearch-username-as-null/277081/8 "2021-07-06T02:58:50Z")

</div>


