dev@glassfish.java.net

Re: please review changes to domain.xml template

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Wed, 21 Sep 2011 09:08:57 -0500

So this is going to cause the web container to be started always in the
DAS, thereby having an effect on the developer scenario benchmark,
right? Does the "for now" mean that this will be eventually made to
only run on the CPAS so the DAS startup impact is only temporary?

Otherwise, LGTM.
Thanks.
Tom


On 9/20/2011 8:49 PM, Anissa Lam wrote:
>
> Please review the change to domain.xml
> This is for pre-deploy paas-console as user application for now.
>
>
> Index: appserver/packager/appserver-base/lib/templates/domain.xml
> ===================================================================
> --- appserver/packager/appserver-base/lib/templates/domain.xml
> (revision 49774)
> +++ appserver/packager/appserver-base/lib/templates/domain.xml
> (working copy)
> @@ -42,7 +42,16 @@
>
> <domain log-root="${com.sun.aas.instanceRoot}/logs"
> application-root="${com.sun.aas.instanceRoot}/applications"
> version="10.0">
> <system-applications />
> - <applications />
> + <applications>
> + <application context-root="/paas-console"
> location="${com.sun.aas.installRootURI}/lib/install/applications/__paas-console"
> name="paas-console" directory-deployed="true" object-type="user">
> + <property name="appLocation"
> value="${com.sun.aas.installRootURI}/lib/install/applications/__paas-console/"></property>
> + <property name="defaultAppName" value="paas-console"></property>
> + <module name="paas-console">
> + <engine sniffer="security"></engine>
> + <engine sniffer="web"></engine>
> + </module>
> + </application>
> + </applications>
> <resources>
> <jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool"
> object-type="system-admin" />
> <jdbc-resource pool-name="DerbyPool" jndi-name="jdbc/__default" />
> @@ -60,7 +69,8 @@
> </jdbc-connection-pool>
> </resources>
> <servers>
> - <server name="%%%SERVER_ID%%%" config-ref="%%%CONFIG_MODEL_NAME%%%">
> + <server name="%%%SERVER_ID%%%" config-ref="%%%CONFIG_MODEL_NAME%%%">
> + <application-ref ref="paas-console"
> virtual-servers="server"></application-ref>
> <resource-ref ref="jdbc/__TimerPool" />
> <resource-ref ref="jdbc/__default" />
> </server>
>
>
> thanks
> Anissa.
>