tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Multiple instances of the same Tomcat version (was: svn commit: r1139381)
Date Sat, 25 Jun 2011 11:19:08 GMT
2011/6/25 Konstantin Kolinko <>:
> 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 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

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:,_mutually_exclusive_functions,_MUI,_patch_install,_etc.%29

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message