You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "arjangch (via GitHub)" <gi...@apache.org> on 2025/09/14 00:15:57 UTC
Re: [I] Fix stop-app in grails cli [grails-core]
arjangch commented on issue #13695:
URL: https://github.com/apache/grails-core/issues/13695#issuecomment-3288992030
I think this is the same bug.
`java=21.0.8-zulu
gradle=8.14.3
groovy=4.0.28
grails=7.0.0-RC1
`
How to reproduce: Create a new app. Start your app with
`grails> run-app`
then try to stop it
`grails> stop-app --stacktrace`
will output
`java.io.FileNotFoundException: http://localhost:8080/actuator/shutdown
at stop-app.run(stop-app.groovy:87)
at org.grails.cli.profile.commands.script.GroovyScriptCommand.handle(GroovyScriptCommand.groovy:156)
at org.grails.cli.profile.AbstractProfile.handleCommand(AbstractProfile.groovy:478)
at org.grails.cli.GrailsCli.handleCommand(GrailsCli.groovy:364)
at org.grails.cli.GrailsCli$_handleCommandWithCancellationSupport_closure6.doCall(GrailsCli.groovy:455)
<===========--> 90% EXECUTING [2m 45s]mandWithCancellationSupport_closure6.call(GrailsCli.groovy)
| Error Application not running.`
It says application is not running. But it is actually running.
Now if you exit grails> with control-c then it will kill the app.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org