0

Today I have introduced few changes to Grails4 webapp (in security chainMap) but found out that the webapp is not starting anymore so I have stashed changes.

Stashing changes didn't help. I have ran grails clean but it also didn't help. I have checkouted out to the previous commit - didn't help. I have disabled spring security - it didn't help. I have deleted build and out directories - without luck. Tried to run via Intellij and console - both are stuck.

Th eproblem is that webapplication is not throwing any exceptions, it's just stuck during starting phase at:

<==========---> 83% EXECUTING 
> :bootRun

enter image description here

If I create a new grails webapp from scratch - it's starting fine.

How to debug it/solve it?

Michal_Szulc
  • 4,097
  • 6
  • 32
  • 59

1 Answers1

0

Found the problem. Migration plugin and stuck migration blocking any further step caused it:

enter image description here

The issue is happening if you:

  • start webapp via grails prod run-app
  • make a change in the code and save
  • restart the webapp when it's restarting by hotdeploy
Michal_Szulc
  • 4,097
  • 6
  • 32
  • 59