Could not reproduce. Following is the output (with -DDebug in the asadmin.bat). Can you please retry with this flag.
C:\Appserver\glassfishV2\publish\glassfish\bin>asadmin start-domain --user xyz domain1
++++++++++++++++++++++++++++ Command loaded from file and it is start-domain ? | {terse boolean t, f
alse,echo boolean e, false,domaindir string null,verbose boolean v, false,debug boolean null,user
string u, null,password string w, null,interactive boolean I, true,passwordfile string null,masterp
assword string null,} | } | | } | start-domain [--terse=false] [--echo=false] [--interactive=true]
[--user admin_user] [--passwordfile file_name] [--domaindir domain_directory] [--verbose=false] [--
debug=false] [domain_name] {}
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
**** insert Default Options terse false
**** insert Default Options echo false
**** insert Default Options verbose false
**** insert Default Options interactive true
Launching UpdateCenter Thread
Adding UpdateCenter Jar File
Reading asadminenv.conf file
Calling UpdateCenter Reflectively
asadminenv.conf: set the following options: profile=cluster
com.sun.updatecenter.home=C:\Appserver\glassfishV2\publish\glassfish\updatecenter
asadminenv.conf: set the following options: secure=false
asadminenv.conf: set the following options: port=4848
domainName = domain1
Starting Domain domain1, please wait.
Log redirected to C:\Appserver\glassfishV2\publish\glassfish\domains\domain1\logs\server.log.
domainDir = C:\Appserver\glassfishV2\publish\glassfish\domains
installDir = C:\Appserver\glassfishV2\publish\glassfish
domainName = domain1
In-place upgrade is not needed, as the file .upgradedTo91 already exists, indicating that the domain
is already upgraded
domainName = domain1
InstallRoot for configureDAS :C:\Appserver\glassfishV2\publish\glassfish
DomainRoot for configureDAS :C:\Appserver\glassfishV2\publish\glassfish\domains\domain1
Loaded Registry : .domain-registry.system
Loaded Registry : domain-registry
password value read from C:\Documents and Settings\PRASHANTH ABBAGANI\.asadminpass
Sep 10, 2007 2:32:49 PM com.sun.enterprise.security.auth.LoginContextDriver doPasswordLogin
INFO: SEC5046: Audit: Authentication refused for [xyz].
Incorrect admin username and/or password
com.sun.enterprise.cli.framework.CommandException: CLI156 Could not start the domain domain1.
at com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartDomainCommand.java:18
7)
at com.sun.enterprise.cli.commands.StartDomainCommand.runCommand(StartDomainCommand.java:215
)
at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:171)
at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
Caused by: com.sun.enterprise.cli.framework.CommandValidationException: Incorrect admin username and
/or password
at com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartDomainCommand.java:13
4)
... 3 more
CLI156 Could not start the domain domain1.
C:\Appserver\glassfishV2\publish\glassfish\bin>echo %errorlevel%
1
[Message sent by forum member 'pa100654' (pa100654)]
http://forums.java.net/jive/thread.jspa?messageID=234756