Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

How do I troubleshoot "sc.exe star...

Help
Djangofan
2013-05-07
2013-06-12
  • Djangofan
    Djangofan
    2013-05-07

    On Windows, I have a condtion where , when I try to start my service using SC.exe (or from the wrapper) it fails.   Starting the wrapper in console mode works fine though.    The failure message I get is:

    [SC] StartService FAILED 1053:
    The service did not respond to the start or control request in a timely fashion.
    

    The service wants to start as the regular System user.  UAC is turned off on this computer.   JAVA_HOME is set to the same Java as the yasjw.properties is set to and  the PATH is  PATH=%JAVA_HOME%\bin;%PATH% .    I have 3 identically registered services except their names are different.   1 of the 3 services works perfect with no problems but these other 2 services are not startable (except in console mode).

    Also, I set this property:  wrapper.ntservice.autoreport.startup=true
    Any idea why?

     
  • rzo
    rzo
    2013-05-09

    hello,

    pls provide some more details:
    1. do all 3 run in parallel with doConsole ?
    2. are all running with the same JVM ? what JVM ?
    3. are log files created ? if so pls post.

    • Ron