the command attempts:
1) asadmin deploy --user $ASADMIN_USER target/arena-puj.ear (failed)
2) asadmin --user $ASADMIN_USER deploy --force=true
target/arena-puj.ear (failed)
3) asadmin --user $ASADMIN_USER deploy --force=true --name
arena-puj target/arena-puj.ear (succeed)
The current script contains the commands for both versions (but since
I am migrating to EclipseLink, soon I will remove the v2.1 commands)
the script is here:
http://kenai.com/projects/puj/sources/arena/content/arena-puj/setup.sh