admin@glassfish.java.net

Re: AMX create/remove working

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 28 Mar 2008 14:50:11 -0700

Anissa,

You must be passing the nulls. When I use jmxcmd

jmxcmd createVirtualServerConfig:test1,localhost,null

I get this in domain.xml:

<virtual-server hosts="localhost" id="test1" />

Are you sure you're not passing null values in (possibly from getting
default values that are null)?

Lloyd


On Mar 28, 2008, at 2:13 AM, Anissa Lam wrote:
> - creating the config object,
> If we don't set the optional attributes, it will be set to "null"
> and written out to 'domain.xml' as "null".
> eg.<virtual-server default-web-module="" state="on"
> hosts="localhost" log-file="null" id="ABC" http-listeners="null" />

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc