-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Steve,
On 8/29/16 9:34 AM, Mekkelsen Madden, Steve wrote: > I've setup Tomcat 8.5.3 as a Windows Service (configured the > service.bat file) and everything appears to be working fine. I'm > trying to find out if there are any restrictions to the overall > length of the parameters which can be used in the service.bat for > --JvmOptions " " ^ line. This isn't specific to Tomcat 8.5.3 as I > saw the same in 8.0.x versions as well. So it may just be > NotePad++ doing something funky. This SO post[1] says that batch files truncate lines after 127 bytes, but I'm fairly certain it's not the least bit true. > What I'm seeing when using NotePad++, is at column 1024 the text > looks fine. But for 16 characters after that, the text appears in > light blue and the remaining line looks okay. I can't tell if > there is a setting in NotePad++ that is simply identifying the > first 1024 characters or if the validate for the service.bat file > is catching something I should be aware of. Since this email is > text only, it is hard to show it, so I've taken a screen shot and > pasted it here: https://postimg.org/image/gv29etcdf/ I wouldn't read too much into what Notepad++ tells you. If you are worried about line length, feel free to build-up the value in an environment variable and try that. > I don't have any good way to verify if all the parameters did in > fact load properly, so reaching out to others to see if they have > the same issue and/or know how to resolve it. The service.bat script just builds a Windows Service. Use tomcat8w.exe[2] to check-out the options that were saved to the registry. Use the //ES// switch to check it all out. - -chris [1] http://stackoverflow.com/questions/1217134/file-size-and-line-length-lim its-for-windows-batch-files [2] http://tomcat.apache.org/tomcat-8.5-doc/windows-service-howto.html#Tomca t_monitor_application -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJXxGnCAAoJEBzwKT+lPKRYjJkP+gMLiEjdMWvKZvAapDCOcelA J+y8yA78KUWr5hP8bnL+KHxNOyfm8VPGPfIJPwrqd17OzcHFqBl/UnvvpzWi9Q+r XXCAQMbP1h5UseFCP5SIAjmT163sEiBIMgU6MPCEBAAmGllrAv8N9LCFX1fxDbWJ P2z6o4N9H9GvuIDIsY9G9N07fJYSQJSl6ZWYJa+ljcySKOPFyizkcnG3TD2ZJ5j6 Wyd5FFnaOXsgdiyk74OHVq/gxlOxqV4i6UpfAvQTQPnMTopPP8wHcR4oPHlG2q4y zwBwJzd8Ehh2zmeenSHf3DKgRygYTtX1/pKQaIaaf5bXGqdl4KejAO8BpXZT0y0B aACIEN8zYmeWCeFnG/d6ikudijgGc0VDqgjGQQoSl6smVenkaG9ym3Nhna9loUbn gyavu4XJSc3gKIfhe9ojhY0bbWIUyessDGk0FZne0jP+Hc4Vyodo7EQ885673v0R 9Bf4EIxnHKyqPw+2DyDp9hhe7NZ+eq2SPvidut1PbxuEb9rf8T6d8xMmLCBAIoas PJ13KX4J4EVbglZ913C6LRigZi95mQsqnRU7K8hQG7GAf+6ybv8Ztp5Zpo+dv+Ax LqT0cgHbo5Juq/Ozh/nGM5LEPrkzdMkZvsr5aFbvQ75iOAA25IhbdExOooM7hw4e qw1mHAv5WiRrv0iiruyC =CehL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org