{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9134","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9134/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9134/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9134/events","html_url":"https://github.com/grails/grails-core/issues/9134","id":97432204,"number":9134,"title":"application.groovy not loaded on startup (environment specific)","user":{"login":"pledbrook","id":19075,"avatar_url":"https://avatars.githubusercontent.com/u/19075?v=3","gravatar_id":"","url":"https://api.github.com/users/pledbrook","html_url":"https://github.com/pledbrook","followers_url":"https://api.github.com/users/pledbrook/followers","following_url":"https://api.github.com/users/pledbrook/following{/other_user}","gists_url":"https://api.github.com/users/pledbrook/gists{/gist_id}","starred_url":"https://api.github.com/users/pledbrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pledbrook/subscriptions","organizations_url":"https://api.github.com/users/pledbrook/orgs","repos_url":"https://api.github.com/users/pledbrook/repos","events_url":"https://api.github.com/users/pledbrook/events{/privacy}","received_events_url":"https://api.github.com/users/pledbrook/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-27T10:24:20Z","updated_at":"2015-07-27T14:02:45Z","closed_at":"2015-07-27T14:02:45Z","body":"I've only come across this when trying to deploy a Grails 3 fat jar app to a hosting provider. The latest failure is with [Boxfuse](https://boxfuse.com/), who make it easy to deploy to Virtual Box and then AWS.\r\n\r\nThe main characteristics of the problematic environment are:\r\n\r\n* OpenJDK\r\n* Linux\r\n* Running on a VM\r\n\r\nI suspect at least one of these or a combination of them is causing the problem. My money's on OpenJDK. Unfortunately it's not painless to get hold of the OpenJDK on Mac, so I haven't tested it outside of Vagrant.\r\n\r\nIf I get a chance to build a reproducible setup, I will. But this has cost me way too much time already."},"comment":{"url":"https://api.github.com/repos/grails/grails-core/issues/comments/125217370","html_url":"https://github.com/grails/grails-core/issues/9134#issuecomment-125217370","issue_url":"https://api.github.com/repos/grails/grails-core/issues/9134","id":125217370,"user":{"login":"pledbrook","id":19075,"avatar_url":"https://avatars.githubusercontent.com/u/19075?v=3","gravatar_id":"","url":"https://api.github.com/users/pledbrook","html_url":"https://github.com/pledbrook","followers_url":"https://api.github.com/users/pledbrook/followers","following_url":"https://api.github.com/users/pledbrook/following{/other_user}","gists_url":"https://api.github.com/users/pledbrook/gists{/gist_id}","starred_url":"https://api.github.com/users/pledbrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pledbrook/subscriptions","organizations_url":"https://api.github.com/users/pledbrook/orgs","repos_url":"https://api.github.com/users/pledbrook/repos","events_url":"https://api.github.com/users/pledbrook/events{/privacy}","received_events_url":"https://api.github.com/users/pledbrook/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T14:02:45Z","updated_at":"2015-07-27T14:02:45Z","body":"The issue is that Spring Boot or Groovy silently ignore exceptions thrown by `application.groovy` when it's executed. This is a serious weakness."}}