cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Commerce 2005 Solr Server not starting when running local

d_j_boyd
Participant
5,173

Running on MAC : 10.15.6

Java : 11

Commerce : 2005

Fresh Install of 2005. When starting the server I get the following error which is preventing SOLR from starting]

de.hybris.platform.solr.controller.commands.StartSolrServerCommand getSolrServerStatus
INFO: Checking Solr server status for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE]
Aug 11, 2020 2:50:13 PM de.hybris.platform.solr.controller.commands.StartSolrServerCommand startSolrServer
INFO: Starting Solr server for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE]
Waiting up to 180 seconds to see Solr running on port 8983 [\]  Still not seeing Solr listening on 8983 after 180 seconds!
2020-08-11 18:50:16.010 INFO  (main) [  ] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@3c1e3314{/solr,file:<removed for PI >,AVAILABLE}{< remove for PI}
2020-08-11 18:50:16.015 WARN  (main) [  ] o.e.j.x.XmlConfiguration
java.lang.IllegalStateException: no valid keystore

Accepted Solutions (1)

Accepted Solutions (1)

former_member633554
Active Participant

Can you try set this in local.properties and see if it works?

solrserver.instances.default.ssl.enabled=false
solrserver.instances.default.ssl.keyStorePassword=
solrserver.instances.default.ssl.trustStorePassword=
former_member731954
Discoverer
0 Likes

Thanks! This worked.

klang_jannik
Discoverer
0 Likes

The problem and the solution is still legit in 20.11! Apparently the bug has never been removed.

Answers (4)

Answers (4)

mwoelm
Participant

Having same problem using SAP Machine 11, Windows, 2005.1 and .2

I have recreated the solr-folder with the standard build. (recreating config folder). That creates the *.p12 files. Merging with my previous config folder. Afterwards, Solr is running again.

d_j_boyd
Participant

@leoryan

It turns out that there is a bug in 2005 patch 1. I downgraded to patch 0 and all worked. I have not tried patch 2.

geffchang
Active Contributor
0 Likes

Do you know the ECP/Hybris bug number for this? Or, is this something you assumed?

0 Likes

Hi David
I'm facing issue in patch 0 also, please suggest what you did to fix this.

former_member704935
Discoverer
0 Likes

I have added \#mykey=\#myvalue to local.properties and it works

d_j_boyd
Participant
0 Likes

@zoong

Do you recall as to what patch level you are running for 2005? Are you running on MAC, Linux or Windows?

former_member704935
Discoverer
0 Likes

patch 4, I have run it on linux

d_j_boyd
Participant
0 Likes

@nagaraju_goranti

I did not face any issue with 2005 patch 0 when setting up my local.

I posted a question to SAP support, and they reported no issues when they setup 2005 patch 1 using a recipe.

So it is a mystery as why some patches work for some and don't work for others. Next step is to try and get patch 2 running