Created
September 9, 2016 03:21
-
-
Save piruin/8fc55689ddfc004683ab7efa0251c580 to your computer and use it in GitHub Desktop.
batch file to start multiple jar instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
start "api-9001" java -Dfile.encoding=UTF8 -Dlog4j.configurationFile=log4j2.xml -jar faarmis-api-1.0.jar -port 9001 | |
start "api-9002" java -Dfile.encoding=UTF8 -Dlog4j.configurationFile=log4j2.xml -jar faarmis-api-1.0.jar -port 9002 | |
start "api-9003" java -Dfile.encoding=UTF8 -Dlog4j.configurationFile=log4j2.xml -jar faarmis-api-1.0.jar -port 9003 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment