atom feed20 messages in net.java.dev.glassfish.adminRe: null for default values
FromSent OnAttachments
Lloyd L ChambersMar 27, 2008 6:35 pm 
Anissa LamMar 27, 2008 9:26 pm 
Jerome DochezMar 27, 2008 9:40 pm 
Anissa LamMar 27, 2008 10:21 pm 
Ana CaballeroMar 27, 2008 10:48 pm 
Anissa LamMar 28, 2008 2:12 am 
Lloyd L ChambersMar 28, 2008 7:32 am 
Lloyd L ChambersMar 28, 2008 7:34 am 
Anissa LamMar 28, 2008 9:15 am 
Lloyd L ChambersMar 28, 2008 12:01 pm 
Lloyd L ChambersMar 28, 2008 12:09 pm 
Lloyd L ChambersMar 28, 2008 2:42 pm 
Lloyd L ChambersMar 28, 2008 2:44 pm 
Lloyd L ChambersMar 28, 2008 2:44 pm 
Lloyd L ChambersMar 28, 2008 2:49 pm 
Lloyd L ChambersMar 28, 2008 2:53 pm 
Lloyd L ChambersMar 28, 2008 4:00 pm 
Anissa LamMar 28, 2008 4:14 pm 
Lloyd L ChambersMar 28, 2008 4:30 pm 
Lloyd L ChambersMar 28, 2008 4:32 pm 
Subject:Re: null for default values
From:Lloyd L Chambers (Lloy@Sun.COM)
Date:Mar 28, 2008 2:53:36 pm
List:net.java.dev.glassfish.admin

Anissa,

I'm going to change the getDefaultValues() implementation so that if a default value is "\u0000" then no default value will be returned. I think this is desirable, as such a default value is not going to do anything useful.

Lloyd

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" />