2 Replies Latest reply on Sep 13, 2016 4:35 AM by Jorge PmB

    Wildfly 10.1.0 Final Install as Windows Service

    Jorge PmB Newbie

      Hello, I managed to install WildFly in a Windows 7 x64 machine at the root of my C: unit.

       

      I tested the installation by running C:\wildfly-10.1.0.Final\bin>standalone

       

      which worked perfect. I tested I can even access gui management console.

       

      Then I wanted to install a windows service to start and stop WildFly. I found in the documentation that I have to copy the folder:

       

      C:\wildfly-10.1.0.Final\docs\contrib\scripts\service

       

      to reside inside

       

      C:\wildfly-10.1.0.Final\bin

       

      then I open a cmd window with elevated privileges and run:

       

      C:\wildfly-10.1.0.Final\bin\service>service install

       

      Everything seems to be right. I receive a message stating service was created and I confirm it by going to service manager. There it is. The problem is that if I try to start the service it doesn't work. I receive a message which says something like "Windows could not start WildFly at local machine....".

       

      I have spent some hours trying to know where the problem comes from, but no idea.

       

      I'm new with WildFly but consider this feature a must for a production server.

       

      Does anyone faced the same problem? how can I solve it?