users@glassfish.java.net

how to redeploy application in V3?

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 10 Oct 2009 12:52:33 +0200

I am trying to force a redeploy through this command:


asadmin --user $admin deploy --force=true target/arena-puj.ear

but the console output:

[exec] com.sun.enterprise.admin.cli.CommandException: remote failure:
Error during deployment : Application arena-puj already registered;
either specify that redeployment must be forced, or redeploy the
application. : java.lang.Exception: Application arena-puj already
registered; either specify that redeployment must be forced, or
redeploy the application.

???