пн, 6 дек. 2021 г. в 12:28, Ponnusamy, Prabhakar <prabhakar.ponnus...@wolterskluwer.com.invalid>: > > Tomcat User Community, > > > > I am trying to update the options of tomcat using the //US command line > option, but getting this error - Application System Error - Error Parsing > Command Line, below is how I was trying to run the commands, but no success. > Both in tomcat7 and tomcat9, I am getting the same error, tried with another > machine too. > > > > tomcat9w.exe //US/Passport --Description="test" > tomcat9w.exe //US/Passport ++Description="test" > > [...] > Please note that ES option works.
https://tomcat.apache.org/tomcat-9.0-doc/windows-service-howto.html "//US//" is a command for "tomcat9.exe", but "//ES//" is for tomcat9w.exe. That is why they are listed in separate tables in documentation. BTW, a) if you look into service.bat file lines 212-232, it uses whitespace instead of a '=' character to separate option and its value. b) See also original Commons Daemon documentation at https://commons.apache.org/proper/commons-daemon/procrun.html Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org