How to stop grails processes in GGTS 3.4 with grails 2.3. the stop button of GGTS is not stopping the server running and the java.exe processes are still showing in task manager.
相关问题
- Grails External Configuration. Can't access to
- grails unit test + Thread
- JMS Job queue with Grails
- Grails: SpringSecurity roleHierarchy not working a
- Grails 2.1.1 - How to develop a plugin with an Ast
相关文章
- Grails: How to make everything I create Upper Case
- Grails 2.3.7 error when creating a new project
- Grails and Quartz: Bad value for type long
- Sending JSON to javascript on GSP
- Grails application is not found after updating to
- How to save to a file system directory in Grails
- Groovy can't compile the code from a solution
- Grails: what are the main issues (and his solution
I am using GGTS 3.5.1, Grails 2.3.8, Java1.7 over Windows configuration the command is works for me "stop-app" and "run-app"
Can you try to disable the "Keep external Grails running" option in Eclipse Preferences -> Groovy -> Grails -> Grails Launcher?
Unchecking the "Keep external Grails running" does not work for me. What I do is to hit the "Grails Command History" icon and type "stopApp" (or pick stopApp if previously typed). Once this commands finishes executing, then you can stop the Grails application using the stop button.
Comment the
grails.project.fork = [ .. ]
part of your BuildConfig.groovy file.This part enables running run-app, test-app and war in different threads(so you don't have to stop one to start the other), and it seems ggts isn't successfully destroying the thread right now.
For reference, here is the related issue in the ggts bug tracker https://issuetracker.springsource.com/browse/STS-3522
Using Groovy Grails Tool Suite GGTS 3.4.0 on windows 64x. For my simple projects, the stop button works. For a bigger complex project, it does not. I use the "stop-app" (opposite of "run-app"). See: 2.8 Running an Application in the getting started guide. I think that in older versions of Grails ( < 2.x something) you had to create your own "stop-app" script. I think the newer 2.3.x has it built in.