dev@glassfish.java.net

virtual-server "docroot" attribute or property

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Thu, 17 Jul 2008 15:28:13 -0700

As stated in issue[0], docs[1] defines "docroot" as an attribute of
virtual-server but domain.xml has it as a property -

  <virtual-server ...>
  <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>

VirtualServer.getPropertyValue("docroot") and VirtualServer.getDocroot()
can be currently used interchangeably in v3 - returns the same value.

Shouldn't it be either an attribute (according to the doc) or a property
(domain.xml)?

Thanks,
Amy

[0] https://glassfish.dev.java.net/issues/show_bug.cgi?id=4532
[1] http://docs.sun.com/app/docs/doc/819-3674/abhfg?l=en&a=view