设置dist版本的监听端口

编辑 bin目录下的启动脚本:


rem We use the value of the JAVA_OPTS environment variable if defined, rather than the config.
set _JAVA_OPTS=%JAVA_OPTS%
if "%_JAVA_OPTS%"=="" set _JAVA_OPTS=%CFG_OPTS%
set _JAVA_OPTS="-Dhttp.port=80"   //这里设置参数
echo %JAVA_OPTS%
:run

posted @ 2014-08-13 08:01  积少成多  阅读(296)  评论(0)    收藏  举报