cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop solr server while starting my server in local in Hybris 6.2?

ansellsilvans
Participant
0 Kudos

Hi All,

I'm using Hybris 6.2 in my project , solr server is starting by default while starting the server . I dont want solr server to start when server start up.

How can i prevent from starting solr server during server startup?

Regards, Ansell

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

open your cmd as administrator and run the bellow command

netstat -a -o -n

this command will show you all running processes, in that list just figure out solr port(8983) and note down the PID for that process.

Now Kill that process by running bellow command

taskkill /F /PID 1716 (you have to give your pid in the place of 1716)

Regards, Siva

sankarsvs
Explorer
0 Kudos

HI Ansell,

Add below part in local.properties:

solrserver.instances.default.autostart=false

VinayKumarS
Active Contributor
0 Kudos

you cannot directly stnd stop Solr when hybris is running and Solr server is inbuilt server which came with hybris suite.

If you dont want Solr server then dont add solr extension in the localextensions.xml

ansellsilvans
Participant
0 Kudos

I Tried both the methods and it is still not working

VinayKumarS
Active Contributor
0 Kudos

when you stopped the server make sure that your jvms are successfully closed. Because on windows machines when we stop the server. Still the java thread will be in active state. It is not getting killed/closed