users@glassfish.java.net

Re: asadmin multimode question

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Wed, 9 Jan 2013 10:32:24 -0800

On Wed, Jan 9, 2013 at 10:24 AM, Noah White <emailnbw_at_gmail.com> wrote:

> If you need something hearty your best bet would probably be to have a
> ReST client read in a cmd file and use the ReST admin interface. Then you
> could have more fine grain control on the results of each cmd.
>

That's a good point; thanks. (I'm just looking to automate in this case
the creation of JVM options--unfortunately you have to know if they're
present and what their value is to change them. For example, you can't
just say: "please replace whatever max memory setting is already specified
with -Xmx1024m", you have to say "delete -Xmx512m" and then "add
-Xmx1024m". If instead what's present is (say) -Xmx256m, then just by
using multimode you'll have two JVM memory options set.)

Best,
Laird

-- 
http://about.me/lairdnelson