<html><body>"The JBoss User main mailing list" &lt;jboss-user@lists.jboss.org&gt;, <br><br>How to clean a failed deploy via admin-console<br><br>Hi there,<br><br>I noticed a problem with admin-console from AS 6.1 (have not tried with other releases) when a failed deploy leaves some kind of "gargabe" that it seem can only be cleansed with restart.<br><br>How to reproduce:<br>1. Use the admin-console do deploy an EAR which depends on a non-configured data source or jms queue. It'll fail<br>2. Create the missing resources (data source, jms queue, etc)<br>3. Jboss logs will show the EAR and its sub-packages deploying fine, but they won't show on admin-console<br>4. App seems to work ok, but there's no copy of the EAR on deploy<br>5. App has folders inside tmp/vfs for EAR and its subpackages, which are removed on shutdown<br>6. On restart, the EAR app does not exist anymore<br><br>I tried to remove the tmp/vfs/automount* files, but the EAR and its subpackages are still deployed when the missing resources are configured, but this time the web applications won't start, complaining missing files from tmp/vfs.<br><br>You see, this is very strange... I can't get rid of the failed deployments either using the console nor removing files. They keep lurking on my system and can create a situation where a working app (from user's perspective) is invisible to the admin-console and disapears on restart. Very confusing and prone to break havoc on a production system.<br><br>At least the app can be re-deployed without a restart... but someone has to remember to do the redeploy after providing the missing resources. But if someone configures the missing resources for some other app that happen to use the same datasource or jms topic?<br><br>Is there a way to "clean" the state for failed deployments, so they don't start when missing resources are configured, and without redeploying the same packages?<br><br><br>[]s, Fernando Lozano<br><br></body></html>