title: JBoss admin-console fails to load - missing Log4J jar?
body: <p>I downloaded JBoss 5.1 and unzipped to </p>
  
  <pre><code>~/jboss/
  </code></pre>
  
  <p>such that JBoss is installed into:</p>
  
  <pre><code>~/jboss/jboss-5.1.0.GA/
  </code></pre>
  
  <p>I run the default deployment by using the following command found in jboss/jboss-5.1.0.GA/bin</p>
  
  <pre><code>./run.sh -c default
  </code></pre>
  
  <p>While JBoss starts (http://127.0.0.1:8080/), admin-console is not deployed. The log file:</p>
  
  <pre><code>jboss/jboss-5.1.0.GA/server/default/log
  </code></pre>
  
  <p>shows the following information:</p>
  
  <pre><code>DEPLOYMENTS IN ERROR:
    Deployment "vfsfile:/Users/jackwootton/jboss/jboss-5.1.0.GA/server/default/deploy/admin-console.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/Users/jackwootton/jboss/jboss-5.1.0.GA/server/default/tmp/az6n6v-tjilfb-h32fokxn-1-h32fosuo-v/admin-console.war/ deployment failed
    Deployment "vfszip:/Users/jackwootton/jboss/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/" is in error due to the following reason(s): org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
  </code></pre>
  
  <p>The Log4J jar file exists in:</p>
  
  <pre><code>jboss/jboss-5.1.0.GA/lib/jboss-logging-log4j.jar
  </code></pre>
  
  <p>I have three questions:</p>
  
  <ol>
  <li><p>Have I understood the problem correctly (i.e. that admin-console cannot find the required Log4j JAR file and therefore is not deployed)?</p></li>
  <li><p>What can I do to fix this problem?</p></li>
  <li><p>Why would an out-of-the-box deployment have this problem in the first place?</p></li>
  </ol>