title: JBoss 5.1 shows "Failed to process changes" when hot-deploying a WAR
body: <p>I'm very new to this, so there's a good chance I'm doing something wrong, but I'm just trying to get set up with writing some JSPs using JBoss 5.1. I write the JSP page (really basic, just some HTML and a little bit of output to make sure the JSP is actually being processed) then I try to build the WAR and hot deploy it with the following commands:</p>
  
  <pre><code>jar -cvf jsptests.war *.jsp WEB-INF
  copy jsptests.war "%JBOSS_HOME%\server\default\deploy" 
  </code></pre>
  
  <p>If I do this without having JBoss running, then it will copy into the deploy folder and it will appear after I start JBoss, however, if I do the same thing while JBoss is running I see the following error in the console:</p>
  
  <pre><code>WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
  java.lang.RuntimeException: Error while adding re-deployments
  </code></pre>
  
  <p>I've seen a few others experiencing this on some other forums but haven't found an answer anywhere. Thanks. </p>