Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13823

Windows Service Script stopping problems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • 20.0.1.Final
    • Scripts
    • None
    • Hide

      With 2 standalone base directories configured, I installed the windows services for each :

       

      .\service.bat install /startup /base "C:\Program Files\wildfly-20.0.1.Final\standalone-1" /name "WildFly-1" /display "WildFly 1" /config standalone-full.xml

      and

      .\service.bat install /startup /base "C:\Program Files\wildfly-20.0.1.Final\standalone-2" /name "WildFly-2" /display "WildFly 2" /config standalone-full.xml

       

      Stopping them using the Windows Service GUI get me in trouble.

      Also having problems using service.bat stop /name "WildFly-1"

       

      I'm wondering if the information specified at the service installation is correctly used when stopping a specific service.

       

      Show
      With 2 standalone base directories configured, I installed the windows services for each :   .\service.bat install /startup /base "C:\Program Files\wildfly-20.0.1.Final\standalone-1" /name "WildFly-1" /display "WildFly 1" /config standalone-full.xml and .\service.bat install /startup /base "C:\Program Files\wildfly-20.0.1.Final\standalone-2" /name "WildFly-2" /display "WildFly 2" /config standalone-full.xml   Stopping them using the Windows Service GUI get me in trouble. Also having problems using service.bat stop /name "WildFly-1"   I'm wondering if the information specified at the service installation is correctly used when stopping a specific service.  

    Description

      I'm trying to have two standalone instances running at the same time, and I think it works.

      The problem is that stopping service 2 stops service 1 and service 2 seems to be stuck as far as windows is concerned.

       

      I then have to kill java to be back to a normal state.

      Attachments

        Activity

          People

            Unassigned Unassigned
            martinmiller-1000 Martin Miller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: