|
Peter,
Gotcha. The simple demo app that I put together tries to load a resource called something like: /templates/domain/doubleslash/_show.gsp It works Ok. In my main application, I was trying to load a resource called: /templates/domain/signupinfo/_edit.gsp But the problem was, I used introspection to get the 'signupinfo' bit, and I (stupidly) did a toLowerCase() on the name of the class (rather than just lower-casing the first character). The actual physical directory name was: /templates/domain/signupInfo/_edit.gsp (note the capital 'I' in 'signupInfo'). On MacOS X, case sensitivity is an option. The OS respects case in the display of a file name, but a request to load 'signupinfo' and 'signupInfo' will both return the same file. As I'm sure you're aware, Linux treats different case as a different filename, which is why it barfed when running on Tomcat under Ubuntu. So, to answer your question: just trying to load a file that does not exist should produce the same FileNotFound error, and if you want to re-recreate it exactly, then make the difference something to do with the case. Regards, M@ |
|
I also had this issue. It kept reloading the security config.
My problem was I put the wrong package name on a java/src class I created. |
|
To help debug these issues, you can do…
grails run-app -verboseCompile That print the name of the file it tries to compile as it gets to it. The last one before the restart is the problem. On 22/10/2010, at 12:45 AM, LE wrote: > > I also had this issue. It kept reloading the security config. > > My problem was I put the wrong package name on a java/src class I created. > -- > View this message in context: http://grails.1312388.n4.nabble.com/Grails-Application-Restarts-Continuously-tp1366038p3005717.html > Sent from the Grails - user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
