Increase timeout by 5 for GlassFish, also rm unnecessary taskkill

This commit is contained in:
wchen-r7 2017-05-02 10:22:19 -05:00
parent f5786dde31
commit e937c7055d
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@ copy /Y "C:\vagrant\resources\glassfish\admin-keyfile" "C:\glassfish\glassfish4\
copy /Y "C:\vagrant\resources\glassfish\domain.xml" "C:\glassfish\glassfish4\glassfish\domains\domain1\config\domain.xml"
cmd.exe /c "C:\glassfish\glassfish4\bin\asadmin.bat create-service domain1"
net start domain1
powershell -Command "Start-Sleep -s 5"
powershell -Command "Start-Sleep -s 10"
net stop domain1
icacls "C:\glassfish" /grant "NT Authority\LOCAL SERVICE:(OI)(CI)F" /T
sc config domain1 obj= "NT Authority\LOCAL SERVICE"

View File

@ -1,3 +1,2 @@
Taskkill /IM domain1Service.exe /F
powershell -command "Start-Sleep -s 5"
net start "domain1 GlassFish Server"
net start "domain1"