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.
-------------
Glassfish Version: 3.1
Platform: Windows
JVM:1.6.0_24 Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode,
sharing)
-------------
Thanks very much for your help!
Best regards,
Jerry Yang
Oracle Berkeley DB