-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 All,
On 8/2/20 12:00, Mark Thomas wrote: > On July 27, 2020 4:03:04 PM UTC, Christopher Schultz <ch...@christopherschultz.net> wrote: > 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 >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org > > Enhancement requests for this should go to Commons Daemon. Should > be simple enough just to dump current config. Done. https://issues.apache.org/jira/browse/DAEMON-422 Thanks, - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl8pZuAACgkQHPApP6U8 pFhGrw/7BrR3Ot4DytZ3meJcjjM4Q0YEm9M8FX2SwMtBgtvXFHwWE2x8LIE275TF wmWmGo5AXJO49NU68AdEolmZKSWiifH7QQvi4vnDHY+DwjeoF54ibkZLL0HwzvJ5 fGP6vr9Ayh+wz6nnKc/F388jaFy3FJ8N4StWGLxbPtJJMVPdF4MjKxukAIfiO1e3 njrLNa8MuUGTy/uPNcaWYsG6vBp4S8F+SE6LmJbYKebXzK5kj3Jk+FWPtGXYMI/O w+vFKuZggr/zPNhNRKT9DWt8a9x2fBOQdH+eTRH0gIE380XeAivbeUbRCBq7MyxH HbELHS8W9mf1V+xkvqHLAxjtkvWso9moBTa6CGiGhjx+ej/XRqlE0GBZD1K8cv0z 5GaW6icjmwkOSEnjZDEMkzHLJsXMFNheN1/DqyY2dp2ZY4QOjmvWFsh+ql2xhNyh +cVujHUhc5u9lP/8l//0JZkB5lAm49yQsXoj7WjxcgYbBb/2/TkT9Gh3kaJaBVQ/ X4dgtPXWjB/IXbdLrdU+tnfzzxx7TXOaZeG2w5Z6nBlqwz0mt9XhjLsFi+tDQgbS RYrXL7+I/XcDPDk3T0OF+7FzPbJ4uYPYju9vE2InAsC08XfzOtQZbThSKPwxcbjZ ykW3WBE3RzaAjUfojOnNBWFdwLWinsY+VyH5oY7YVHDPDcQ0PW4= =1no6 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org