CLASSPATH= /export/home/j2eetest/v3.1/glassfishv3/glassfish/bin/../modules/admin-cli.jar Commands: [--passwordfile, pass, deploy, --target, sain1, /export/home/j2eetest/workspace/appserver-sqe/common/admincli/apps/hello.war] asadmin extension directory: /export/home/j2eetest/v3.1/glassfishv3/glassfish/lib/asadmin Assuming it's a remote command: deploy Passwords from password file {AS_ADMIN_PASSWORD=administrator} Setting password to: Prepare URI: /__asadmin/deploy?Xhelp=true URL: com.sun.enterprise.admin.util.HttpConnectorAddress@184ec44 URL: http://localhost:4848/__asadmin/deploy?Xhelp=true Using auth info: User: admin, Password: Response Content-Type: text/xml ------- RAW METADATA RESPONSE --------- ------- RAW METADATA RESPONSE --------- fetchCommandModel: got command opts: com.sun.enterprise.admin.util.CommandModelData@b02efa doHttpCommand succeeds Process program options Parse command options params: {target: [sain1] } operands: [/export/home/j2eetest/workspace/appserver-sqe/common/admincli/apps/hello.war] Prevalidate command options Inject command options Validate command options asadmin --host localhost --port 4848 --user admin --passwordfile pass --interactive=false --echo=false --terse=false deploy --force=false --precompilejsp=false --verify=false --enabled=true --generatermistubs=false --availabilityenabled=false --target sain1 --keepreposdir=false --keepfailedstubs=false --logreportederrors=true --lbenabled=true /export/home/j2eetest/workspace/appserver-sqe/common/admincli/apps/hello.war Execute command removing --upload option doUpload set to false FILE PARAM: DEFAULT = /export/home/j2eetest/workspace/appserver-sqe/common/admincli/apps/hello.war URI: /__asadmin/deploy?target=sain1&DEFAULT=%2Fexport%2Fhome%2Fj2eetest%2Fworkspace%2Fappserver-sqe%2Fcommon%2Fadmincli%2Fapps%2Fhello.war URL: com.sun.enterprise.admin.util.HttpConnectorAddress@23e5d1 URL: http://localhost:4848/__asadmin/deploy?target=sain1&DEFAULT=%2Fexport%2Fhome%2Fj2eetest%2Fworkspace%2Fappserver-sqe%2Fcommon%2Fadmincli%2Fapps%2Fhello.war Using auth info: User: admin, Password: ------- RAW RESPONSE --------- Signature-Version: 1.0 message: Application deployed successfully with name hello.%%%EOL%%%WA RNING : Command _deploy did not complete successfully on server insta nce sain1 : Authentication failed for user: admin (Usually, this mean s invalid user name and/or password)%%%EOL%%% name_value: hello name_name: name keys: name use-main-children-attribute: false exit-code: SUCCESS ------- RAW RESPONSE --------- PROCESSING MANIFEST... doHttpCommand succeeds Application deployed successfully with name hello. WARNING : Command _deploy did not complete successfully on server instance sain1 : Authentication failed for user: admin (Usually, this means invalid user name and/or password) Command deploy executed successfully.