HumanInDisguise
HumanInDisguise

Reputation: 1445

How to go about debugging non-responding Grails application?

I'm partaking in the development of a Grails application. It was working alright, but when I started it up this morning, the following happens: When calling up a certain page, the server ceases working. It does not respond, there's nothing in the log4j logs and following that all other pages too are not reachable. Further (as far as I know) we're using the kickstart plugin - that names keeps appearing in the logs (as if there's a cron running a script every few moments) but no longer after said page call.

I've checked the most recent edits against the code base used (containing last version considered stable) and there were no significant changes (that'd explain what happens) since the last checkout.

I'm at a loss as to what to do now. I checked online for hints but found none. How should I go about debugging this error? Where should I start? Where should I look for what information?

As this is an in-development branch of the application, it currently sits on my localhost (running grails on a windows machine) and I'm able to perform any kinds of operations on it. As IDE I've Eclipse with grails plugin, so I can debug.

Upvotes: 0

Views: 116

Answers (1)

Aaron Digulla
Aaron Digulla

Reputation: 328624

There is usually no simple solution. First, you need to find out why the Java VM hangs. Follow the instructions in this document: http://www.oracle.com/technetwork/java/javase/hangloop-140257.html

When you found out the reason why it hangs, come back here if you need ideas how to solve it.

Upvotes: 1

Related Questions