commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Newcomb (JIRA)" <j...@apache.org>
Subject [jira] Created: (DAEMON-143) Trying to uninstall a non-existant service uses a pop box
Date Mon, 15 Mar 2010 17:13:27 GMT
Trying to uninstall a non-existant service uses a pop box
---------------------------------------------------------

                 Key: DAEMON-143
                 URL: https://issues.apache.org/jira/browse/DAEMON-143
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.0.1
         Environment: Don't know which version Tomcat 6.0.18  (see #DAEMON-142 )
            Reporter: David Newcomb
            Priority: Minor


service install Tomcat
--> The service 'Tomcat' has been installed.
service install Tomcat
--> Failed installing 'Tomcat' service

service remove Tomcat
--> The service 'Tomcat' has been removed
service remove Tomcat
--> The service 'Tomcat' has been removed there is also a pop-up dialogue showing "The
specified service does not exists as an installed service. Unable to delete Tomcat service"

In the first case the failure is met with an error message, whereas in the second case the
failure is met with an error message and a pop-up.
This has made it impossible to use tomcat6.exe to add Tomcat as a service from within an installer.

The problem is that there is nothing to tell you if it is already installed as a service.
Installing fails if it already exists, updating fails if it doesn't exist and deleting gives
you a horrible pop up message from deep inside your installer. So there are 2 options. 1)
delete serviced, add service and put put with the fact that the first time you are going to
get the pop up or 2) have another entry in the registry (or marker somewhere) that tells you
what state you are in.

Can we change it so that Update does an install if the service doesn't exist. Otherwise what
can I do.

My bug has begun to sound like a support question, but I do think there is a real change to
be made. I'm also unclear as to whether this issue should be reported against Tomcat or procrun
so please forgive me if it's in the wrong place.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message