-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 James,
On 9/8/16 12:47 PM, James H. H. Lampert wrote: > On 9/8/16, 8:34 AM, Christopher Schultz wrote: > >> James, would you care to provide a (simple) patch? You'll get >> your name in the changelog :) > > Ok. In the initial comments for catalina.bat: > >> . . . rem Do not set the variables in this script. Instead put >> them into a script rem setenv.bat in CATALINA_BASE/bin to keep >> your customizations separate. rem rem CATALINA_HOME May point >> at your Catalina "build" directory. . . . > > becomes something like (and note the capitalization on the first > line, to make the warning stand out): > > . . . rem Do not set the variables in this script. Instead put > them into a script rem setenv.bat in CATALINA_BASE/bin to keep > your customizations separate. rem rem WHEN RUNNING TOMCAT AS A > WINDOWS SERVICE: rem Environment Variables for are NOT set in > scripts, and any rem attempt to set them in a setenv.bat script > will be IGNORED. rem Instead, they are set in the Registry, and > are most conveniently rem maintained with the "tomcat7w.exe" > maintenance utility. rem rem CATALINA_HOME May point at your > Catalina "build" directory. . . . > Looks reasonable. I'll adjust it slightly and commit the change. > And the corresponding addition should probably also be made to > catalina.sh, since *nix, Mac, and IBM Midrange users (all of whom > would be more familiar with catalina.sh) are probably the people > most likely to be unfamiliar with how things work on Windows, and > to get caught by this "gotcha." Possibly. > FWIW, on an IBM Midrange box, I've found that the easiest way to > launch Tomcat is via a CL program (a sort of COMPILED script for > the native command language), that can look through the JVMs > available, and select the most appropriate one, and can also set > the environment variables (and even do it dynamically, from > command-line parameters). Would you care to create an account on the Tomcat Wiki[1] and post your CL program? It may help someone else running in similar environments. In fact, if you want to write-up a whole page about "Running Tomcat on IBM Midrange", you could include that as well as any other nuggets you've collected throughout the years. Thanks, - -chris [1] http://wiki.apache.org/tomcat/ (click on "Login" at the top to create an account -- super-intuitive, right?) -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJX0bqcAAoJEBzwKT+lPKRYVloP/2aGQQIgp02r78cKGp0jUiqt 7EdHtAHnwKn7HeFKMs5kNVAHlZU+tdbzMMEdpx/dTB+J5o7/lL8VteQc6sQBZ3ZH QV9FjJC7KkEzhlA+KgeoJRtmUyo5/RCs6m9C/dZGHx4SGED4BY9SPC06BYpLL3G7 LuZNntOkbDTjL1EXR9um5xnkz++vd8Ka0hTpqQWoR8Mx23jHqlwAzLLVArNrBtuA YD3ujhndEhZS4a4I0wx+VxMIq8DyKb1fm0z21HSLLaHYlODMjlH9MOFANvHXAhrj y+ri2TWVzoMip93sZCfj7q7ZpC5I0ntdid1sYtAsm6E22u4k9FO3PoIs1j/0bnEM pA6mmekqBBRL9vgMK733ZoRBuwAMq3jHg+A4mEH1cJZGzjkFcr64eVhqDH40yLpF f+8fJSFKqpL5XpbbN/eyPWyuRKDpD2izPyzDEFrMvSODR+UEuwZ7rPiROtOSFoa8 ZnbDGD642lmShxDBM1XuM67Ol+WB5HAHbRAZ6WDrmH98Fp5HbpIwzbsvETdQ2nwu zz8ajRYaeO1xcDRDNmhunvB6m3oK8xB9GX1LGmZ767qWlE9N8NK14Hb8XvhU663j na2XeX2+vWPGzI8nb9po5AOEEfsQ0hvQlrTFek4qDuOJHR5W+gleUuF113ZxzYr9 VpfDn1ed7T4VyGpNUQeN =Osba -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org