1 2 Previous Next 17 Replies Latest reply on May 24, 2016 6:56 AM by nickarls Go to original post
      • 15. Re: WildFly 8 service does not stop on Windows 2012 R2 core
        rknechtel

        One thing I found out though. If I stop/start or restart the Wildfly service. It seems the http/https services won't start and all my apps fail to deploy. It takes a server bounce to clear it. OUCH!  So I'm still troubleshooting.   I wish the Wildfly guys would fix the Windows Service wrapper......

        • 16. Re: WildFly 8 service does not stop on Windows 2012 R2 core
          bharathiselvan

          Hi Hari, You have to make change in service.bat file that too in single place. 1. Go to %Wildfly9_Home_directory%\bin\service\service.bat 2. Go to line no : 93 and change localhost to your machine IP for example, "set CONTROLLER=localhost:9990" to "set CONTROLLER=192.168.10.12:9990" 3. After setting this once again you have to reinstall the windows service. After this windows Stop service will work. Thanks, Bharathi

          • 17. Re: WildFly 8 service does not stop on Windows 2012 R2 core
            nickarls

            My turn to struggle with WF10/JDK8/64bit Windows. I've read through this thread and the associated JIRA, believing to have tried most combinations but still no go. The install-string generated is

             

            "C:\WF\bin\service\amd64\wildfly-service" install WF --DisplayName="WF" --Description "WF" --LogLevel=DEBUG --LogPath="C:\WF\standalone\log" --LogPrefix=service --

            StdOutput=auto --StdError=auto --StartMode=exe --StartImage=cmd.exe --StartPath="C:\WF\bin" ++StartParams="/c \"set NOPAUSE=Y && standalone.bat\"" --StopMode=exe --StopImage=cmd.exe --StopPath="C:\WF\bin"  ++StopParams="/c \"set NOPAUSE=Y && jboss-cli.bat --connect --controller=localhost:9939 --command=:shutdown\""

             

            Installing service succeeds

            Uninstalling service succeeds

            Starting the service succeeds

            Stopping the service hangs.

             

            I'm running the service as Local System.

             

            The "jboss-cli.bat --connect --controller=localhost:9939 --command=:shutdown" succeeds when run standalone

            I've also tried commenting out the NOPAUSE-stuff

             

            Using wildfly-core/service.bat at master · wildfly/wildfly-core · GitHub I get a

             

            Using the X86-64bit version of prunsrv

            The data area passed to a system call is too small.

            Failed to start serviceService Wildfly starting...

            ERROR: Failed to load service Wildfly configuration

             

            (Everything works OOTB on my dev machine (Win8 64bit, JDK8)

             

            I noticed an open issue for Apache Commons Deamon but downgrading to the previous version didn't work either...

             

            using --ServiceUser/--ServicePassword doesn't help.

             

            Thankful for suggestions,

            Nik

            • 18. Re: WildFly 8 service does not stop on Windows 2012 R2 core
              nickarls

              Actually it was a JAVA_HOME missing in jboss-cli.bat. It picked up the system default which for some reason just failed (spaces in path?). I thought I had added the correct JAVA_HOME to all scripts but apparently one was missing :-/

              1 2 Previous Next