title: Accessing application.conf in GlobalSettings onStart (Play Framework)
body: <p>I am using Java / Play Framework 2.1.0.</p>
  
  <p>I have found other questions asking how to access application.conf, and I tried two methods:</p>
  
  <pre><code>Play.application().configuration().getString("my.thing");
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ConfigFactory.load().getString("my.thing");
  </code></pre>
  
  <p>In both cases I dont get anything back. I am trying to do this in onStart of my Global class. Maybe onStart happens before configuration is loaded?</p>
  
  <p>How can I access values in application.conf from within onStart? (Or, to be more precise, how do I access values in myapp.conf which is included in application.conf)</p>