Fail to restart AEM local server via "java -jar aem-author-p4502.jar"
Steps to reproduce my issue:
***I have all the setup/environment working fine.***
STEP 1
and I can start AEM local server via run "java -jar aem-author-p4502.jar". the server runs and I can develop on the aem local server with no problem.
STEP 2
I try to stop the AEM local server via execute "ctrl + z" (my system is macos), it works fine as well, the local server is down.
STEP 3
when I try to start the AEM local server again via the same command line "java -jar aem-author-p4502.jar", it give me the error below:
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]
The JVM reports a heap size of 4096 MB, meets our expectation of 1024 MB +/- 20
Setting properties from filename '/Users/james/htdocs/aem-sdk/author/aem-author-p4502.jar'
Option '-quickstart.server.port' set to '4502' from filename aem-author-p4502.jar
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to /Users/james/htdocs/aem-sdk/author/crx-quickstart/logs/stdout.log
Redirecting stderr to /Users/james/htdocs/aem-sdk/author/crx-quickstart/logs/stderr.logSTEP 4
I restart my laptop and try again, the command works again, so what's the root cause to this issue?
Do I have to restart my laptop every time to resolve this problem?