Tuesday 24 July 2018

Run multiple Servers In Hybris


Requirement:-
I want to check both the electronics site and Powertools site at the same time. Run the 2 servers at a time to get two sites at a time.   

Follow the below steps to run two servers,

Step 1:-  Open the local.properties file.
  


Step 2:- Paste these properties in local.properties file.

     tomcat.http.port=8801
     tomcat.ssl.port=8802
     tomcat.ajp.port=8809
     tomcat.jmx.port=8803
     tomcat.jmx.server.port=8804
     solrserver.instances.default.port=8986
     solrserver.instances.standalone.port=8986
     solrserver.instances.cloud.port=8986

     tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,
address=8002,suspend=n    






Step 3:- Do ant all or ant clean all & start the server with this command hybrisserver.bat





Step 4:- Now the server is running in port no 8802. Now we have to access the site by using 8802 port instead of 9002.







1 comment:

  1. Yes, but Solr doesn't work. I read something about fixing it changing solr's port via impex. But, I couldn't

    ReplyDelete