On Sun, Dec 22, 2013 at 6:40 PM, Bertram Moshier
<[email protected]>wrote:

>
> I want to provide an update on my Rexx issues.  At this time I have a work
> around, but not a fix.  What I found does work is to install with RXAPI not
> being a service and thus not started.  Once the Rexx installation
> completes, I then manually install using the "sc" command RXAPI as a
> service.  It is running great!!
>


Hi Bertram,

Great, I'm glad you got things up and running.  However, you didn't really
follow my instructions.


> QUESTION:  Is there a method / way to have a Rexx program start before the
> first person logs into Windows?
>

Yes.  I didn't say to use sc to install rexapi as a service.  I said to use
the -i flag with rxapi.

What you should do now is use sc to uninstall rxapi.  Do that so that you
are uninstalling the service using the same method as it was uninstalled.
 Then use rxapi to install itself as a service.  The code in rxapi is
written to install the service with the proper settings.

>From a command prompt running as administrator.  Don't type the comments
marked with a "#"

C:\work>sc delete rxapi
C:\work>sc query rxapi    # to ensure it is uninstalled
C:\work>rxapi /i               # installs rxapi as a service
C:\work>sc query rxapi    # to ensure it is now installed

When you do the sc query rxapi, if it says it is installed bu not running
then do:

C:\work>sc start rxapi

=========================

C:\work>sc query rxapi

SERVICE_NAME: rxapi
        TYPE               : 10  WIN32_OWN_PROCESS
       * STATE              : 1  STOPPED*
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

C:\work>sc start rxapi

SERVICE_NAME: rxapi
        TYPE               : 10  WIN32_OWN_PROCESS
       * STATE              : 2  START_PENDING*
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 2340
        FLAGS              :

C:\work>


rxapi will not start when the system boots up.

--
Mark Miesfeld
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to