Service will not start.

Discussion in 'Windows Server' started by Jim, Nov 7, 2006.

  1. Jim

    Jim Guest

    Using JavaService, a Java program may become a Windows Service. Our service
    has previously been correctly installed and has functioned perfectly. The
    service was uninstalled, a JAR was added to the classpath in the parameters,
    and the service was reinstalled. The Java program runs fine when launched
    from the command line, but it will not start as a Windows Service.

    Error Message:
    Services
    ! The <service_name> service on Local Computer started and then stopped.
    Some services stop automatically if they have no work to do, for example,
    the Performance Logs and Alerts service.

    From that start attempt, there is an error in the Application Log:

    Event Type: Information
    Event Source: <service_name>
    Event Category: None
    Event ID: 4096
    Date: 11/7/2006
    Time: 2:11:39 PM
    User: N/A
    Computer: <server_name>
    Description:
    Could not create a FileOutputStream for redirect of

    (redirect of what, it does not say!)

    Any ideas of how to fix or to troubleshoot this, anyone?

    TIA,
    Jim
     
    Jim, Nov 7, 2006
    #1
    1. Advertisements

  2. Jim

    Jim Guest


    It turned out to be a problem with a filepath in a JavaService.exe
    parameter...
    Additional info is here:
    http://forge.objectweb.org/forum/message.php?msg_id=7677

    Jim
     
    Jim, Nov 7, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.