How to run multiple hybris instance in one machine?

So many times you need you run more than 1 server of hybris on same machine , like if you want to run your customized code and OOTB Hybris Store as well . You just need to add the following properties in local.properties File.


Then do ant all and start the hybris server :

tomcat.http.port=7001
tomcat.ssl.port=7002
tomcat.ajp.port=7009
tomcat.jmx.port=7003
tomcat.jmx.server.port=7004

solrserver.instances.default.port=8986

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


This will help you to run hybris server in debug mode as well on port 6001





Post a Comment