dev@glassfish.java.net

Re: <virtual-server> -- redundant properties and attributes

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 28 Mar 2008 19:12:12 -0400

Lloyd L Chambers wrote:
> I see this in domain.xml:
>
> <virtual-server id="__asadmin" http-listeners="admin-listener"
> hosts="${com.sun.aas.hostName}" state="on"
> log-file="${com.sun.aas.instanceRoot}/logs/server.log">
> <property name="docroot"
> value="${com.sun.aas.instanceRoot}/docroot"/>
> <property name="accesslog"
> value="${com.sun.aas.instanceRoot}/logs/access"/>
> <property name="sso-enabled" value="false"/>
>
> But com.sun.enterprise.config.serverbeans.VirtualServer has a docroot
> Attribute, so why is a property used?
>
> public String getDocroot();
>
>
> Also, what does "accessLog" as a property mean in light of it having this:
>
> @Element
> public HttpAccessLog getHttpAccessLog();
>

Right, this has been like that since AS 7.0 for compat reason. Might be
a good time to fix it....I've filled:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=4532

Thanks

--Jeanfrancois


>
> Lloyd
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>