You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/08/03 12:34:11 UTC
DO NOT REPLY [Bug 43020] New: - Tomcat always tries to install as service on Windows
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43020>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43020
Summary: Tomcat always tries to install as service on Windows
Product: Tomcat 5
Version: 5.5.23
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P2
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mmo@zurich.ibm.com
Hello,
for test reasons I had to install several versions of Tomcat (v6.0 and 5.5.23
in this case). Doing so, I had to learn, that the Windows-Installer for Tomcat
obviously ALWAYS tries to enter Tomcat as a system service, even if the
corresponding checkbox in the config dialog has been UNchecked. This is a bit
annoying, since
1.) if another Tomcat version has already been installed before, then during
the installation one gets an error, that entering Tomcat as a system service
failed (=> abort/retry/ignore).
2.) during subsequent reboots one is now always pestered with an error message
that a service(namely the one whose entry failed - see above) failed to start.
So, the Tomcat installer would either have to obey the check box and NOT enter
the app as a service unless told so,
OR
the *names* (and maybe further settings - don't know what's all required for
the installation of a Windows Service) would need to be sufficiently distinct
so that several installations could happily co-exist as different services. Of
course, in that case, one would need to make sure that portnumbers (and
probably misc. other settings, too) would have to be distinct, or that at any
time only one of those installed services would actually be running, but
that's another issue, that the user/admin would have to take care of.
Regards,
Michael
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 43020] - Tomcat always tries to install as service on Windows
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43020>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43020
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From markt@apache.org 2007-08-03 04:53 -------
This is by design.
The installer has been updated to make is clearer what the checkbox actually
means which is "do you want this service to start automatically when windows
starts" rather than what it previously suggested "do you want to install a
Tomcat service"
This fix will be in the next 5.5.x release.
If you want to install multiple instances, use the zip. It includes service.bat
which can be used to add multiple services with different names.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 43020] - Tomcat always tries to install as service on Windows
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43020>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43020
------- Additional Comments From mmo@zurich.ibm.com 2007-08-03 06:10 -------
OK - so I was simply mislead by the terse "Service" (or whatever the checkbox
was labeled with) to believe, that this would NOT install a service, if
unchecked. Thanks for clarifing this!
BTW: how about separating this into TWO checkboxes, one labeled e.g. "register
as service" and an indented "sub-checkbox" labeled "automatically start with
the system", i.e. something like:
...
[ ] register as service
[ ] automatically start this service when system boots.
...
Ideally, the indented checkbox would only be accessible, if the parent is
deselected, i.e. grayed out, if the register is deselected.
And, in that latter case (i.e. if the user deselected the "register..."
option) then install that startup.bat file to /bin instead.
Or frankly, I don't really see, why one could not install that startup.bat
*always*. If the user has stopped or disabled the service, but still wants to
start tomcat temporarily by hand, (s)he could use that startup.bat.
At least *I* would find that very handy for testing! :-)
Michael
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org