-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

On 7/27/20 10:43, Bill Stewart wrote:
> On Mon, Jul 27, 2020 at 12:22 AM Hans Schou wrote:
>
> Yes I can add and change information, but how can I get the
> information out
>> so I can use that for an upgrade to a new major version?
>>
>
> From an elevated command line, run:
>
> tomcat8w.exe "//ES//servicename"
>
> This displays the GUI configuration dialog. From there you can
> manually document your settings.

Seems like it would be kind of awesome to have a feature like //PS//
which would dump-out the service as a .BAT file, like:

C:> tomcat9w.exe //PS//my-service-name

REM ******************************************************
REM * Exported Configuration for Service my-service-name *
REM * Export date: 2020-07-27 11:57:00 EDT               *
REM ******************************************************
REM
REM This script will install the service named my-service-name
REM including all configured settings at the time of export.
REM Edit this script and run it to update the service description
REM for my-service-name.

SET CATALINA_HOME=\path\to\tomcat_home
SET CATALINA_BASE=\path\to\tomcat_base
SET TOMCAT_SERVICE_NAME=my-service-name

%CATALINA_HOME%\bin\tomcat9w.exe "//IS//%TOMCAT_SERVICE_NAME%" ^
  --Jvm [jvm] ^
  --JvmOptions [blah]
  ...

I have absolutely no idea how to do that, since I know absolutely
nothing about the tomcatXw.exe program. But I'll bet someone who DOES
understand it would be able to write that up in a few hours.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl8e+rgACgkQHPApP6U8
pFiqKRAAprSehcfxrw+WEqT9wD25dDOixRrBQ1yjsV53hTnthblTsd1v3hLzI0PA
aeXeMDofQKK7D+mv5fAkL7+PXTBwx+z4/jgZrFfsrffArcZWr2MnTcTrU79+7Orm
u9dWJbXHbcw3zxHxkDe7jNGcI1q/N2tg3cIDVqdC96oaCxEJQJCqvc4/CrV/CpLy
OK2sQsRaZBOtNX17vFTLUhfLRj5YqxAOKVhLntPA76JYYbIdWS/0tUzaZasi0Hi9
5RqsLGG4hab2s1MudODp5lTdFjzztW+XncPTOCRnTM9Ya7X0ENbMPNO48ll4htOv
Y/HWjecR8zlbBIaXEq04glUn3j2xdppedQS+VqiZ56kPKEdb/Xi02wwyVBiFNfOB
OqcVgd7P5E4aKk/ydm9fq2OFiR1zBoE6ARj5ONyzz8SNOu6KVIo8X5OuqGbHI3Hf
DWiXPmB68jCnpObqnom+ksMYq81/KjmjIyaXXtrW6pyrBn63a+GbcPovvFlbz0J/
tLPYngN5OTWEB0h6q5k789rpTY9C1l7F7OgeJqXLR1PBRdYi6ZYlMPrPXrFeeBIB
Hzqsm/y2nNwarglaRDzsSflPah7yy7vArInJI1tAs9lzYTnzUgtRSb64A8auRJoh
+FHTlr7+8TadaYwBN9VERhkYp9zJ4BnwICfJLyHb6cknMv9duGY=
=+kY+
-----END PGP SIGNATURE-----

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

Reply via email to