dev@glassfish.java.net

Issue Encountered When Running asadmin Commands

From: Yi Yang <yi.yang_at_oracle.com>
Date: Fri, 25 Mar 2011 19:22:58 +0800

Dear Experts,

I've encountered the following problem while issuing an
create-jvm-options command:
------------------------
asadmin> create-jvm-options -XX\:+LogVMOutput
Non-boolean option: X, not allowed in argument: -XX:+LogVMOutput
Usage: asadmin [-H|--host <host(default:localhost)>]
         [-p|--port <port(default:4848)>] [-u|--user <user(default:admin)>]
         [-W|--passwordfile <passwordfile>]
         [-t|--terse[=<terse(default:false)>]]
         [-s|--secure[=<secure(default:false)>]]
         [-e|--echo[=<echo(default:false)>]]
         [-I|--interactive[=<interactive(default:true)>]]
         [-?|--help[=<help(default:false)>]]
         create-jvm-options [command-specific options]
Command create-jvm-options failed.
asadmin> exit
Command multimode failed.
--------------------------
The -XX option appeared to be recognized as asadmin's arguments.
However, if I run this command in single mode specifying the --host,
then the command could be correctly interpreted.

I've searched the Issue Tracking DB and found similar issue been
reported before (GLASSFISH-16037) tagged as resolved, but in my case,
the problem still exists.

Thanks very much for your help!

Best regards,
Jerry Yang
Oracle Berkeley DB