On 20/10/2016 21:09, Igal @ Lucee.org wrote:
> service.bat is a great tool to install and remove Tomcat as a Windows
> service, but it has a few hardcoded values that should be
> customize-able, like the heap memory size and JVM args.
> 
> I've modified the script slightly to address these issues.  The first
> part sets default values:
> 
> if "%SERVICE_STARTUP_MODE%" == "" set SERVICE_STARTUP_MODE=manual
> if "%JvmMs%" == "" set JvmMs=128
> if "%JvmMx%" == "" set JvmMx=256
> 
> The second part makes use of those values:
> 
>     --Startup "%SERVICE_STARTUP_MODE%" ^
>     --JvmOptions
> "%JvmArgs%;-Dcatalina.home=%CATALINA_HOME%;-Dcatalina.base=%CATALINA_BASE%;-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties"
> ^
>     --JvmMs "%JvmMs%" ^
>     --JvmMx "%JvmMx%"
> 
> It'd be great, however, if these changes were accepted to be part of the
> Tomcat distribution.
> 
> Can I submit a patch for that?

Sure. Got for it.

Thanks,

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to