2011/6/25 Konstantin Kolinko <knst.koli...@gmail.com>: > > Though I suspect that for running as a service that value can be "-1", thought >
Sorry, I did not notice that shutdown port has already been changed. (I looked in the file, but did not notice that my "svn update" command had failed). > > 2) if Tomcat is installed to be integrated with an IDE, e.g. to be > used with Eclipse IDE, an explicit shutdown port will be needed. That > is because when you create a "Server" in Eclipse, it copies > configuration files from existing installation of Tomcat and later > uses the port specified there to stopping launched Tomcat. > Defining the port numbers as properties in catalina.properties does work. I did it once. But, because of the above quoted use case, I think that server.xml created by the installer should stay as close as possible to the one packed in a zip archive. That means to use 8005 by default and to be able to change it. One more feature to be added: to be able to do not install HTTP or AJP connector if it is not needed. Technically, I think the installer can print the whole <Connector> element by itself instead of printing just the port. (If user choses not to install the connector, the same text can be printed as an XML comment). By the way, I searched whether there exists some subroutine to perform string replacements, so that we do not need to maintain several fragments of the file. Here are some pointers: http://nsis.sourceforge.net/A_sample_script_that_uses_several_cool_functions_%28replace_txt,_mutually_exclusive_functions,_MUI,_patch_install,_etc.%29 http://nsis.sourceforge.net/Another_String_Replace_%28and_Slash/BackSlash_Converter%29 http://nsis.sourceforge.net/NSISpcre_plug-in Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org