title: Log4j2 with webstart
body: <p>I have a webstart application that works fine with Log4j 1.
  Now I have migrated it to Log4J2. In Eclipse everything works fine. But if I start it as WebStart application, I always get the message:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>"ERROR StatusLogger No log4j2 configuration file found. 
  Using default configuration: 
  logging only errors to the console. 
  Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level'
   to TRACE to show Log4j2 internal initialization logging.
  "</code></pre>
  </div>
  </div>
  </p>
  
  <p>What I'm doing wrong?</p>
  
  <p>My jnlp looks like:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jnlp spec="1.0+" codebase="http://localhost:8085/MyApp/" href="client.jnlp"&gt;
   &lt;information&gt;
          &lt;title&gt;My new App&lt;/title&gt;
  &lt;vendor&gt;MyCompany&lt;/vendor&gt;
          &lt;icon kind="splash" href="img/splash.jpg"/&gt;
          &lt;icon href="img/logo.png"/&gt;
      &lt;/information&gt;
      &lt;security&gt; 
          &lt;all-permissions/&gt;
      &lt;/security&gt;
      &lt;resources&gt;
          &lt;j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/&gt;
          &lt;extension name="dependencies" href="dependencies.jnlp" /&gt;
          &lt;extension name="properties" href="properties.jnlp" /&gt;
      &lt;/resources&gt;
  
      &lt;application-desc main-class="com.client.MyApp"&gt;
          &lt;argument&gt;-webstart&lt;/argument&gt;
      &lt;/application-desc&gt;
  
  &lt;/jnlp&gt;
  </code></pre>
  
  <p>And the log4j.configuration is placed in the properties.jnlp:</p>
  
  <pre><code>&lt;jnlp spec="1.0+" href="properties.jnlp"&gt;
    &lt;information&gt;
      &lt;title&gt;My new App&lt;/title&gt;
      &lt;vendor&gt;MyCompany&lt;/vendor&gt;
    &lt;/information&gt;
    &lt;security&gt;
      &lt;all-permissions/&gt;
    &lt;/security&gt;
    &lt;resources&gt;
          &lt;!-- Properties --&gt;
          &lt;j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/&gt;
          &lt;property name="client.ini" value="http://localhost:8085/MyApp/cfg/client.ini"/&gt;
          &lt;property name="log4j.configuration" value="http://localhost:8085/MyApp/cfg/log4j2.xml"/&gt;
    &lt;/resources&gt;
    &lt;component-desc/&gt;
  &lt;/jnlp&gt;
  </code></pre>