dev@glassfish.java.net

Re: please review changes to domain.xml template

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Wed, 21 Sep 2011 08:28:20 -0700

Hi Tom,
I realize there will be impact on startup performance and discussed this
with Shreedhar and Rajiv. They are aware of this and think it will be
fine for Sprint1.
My plan is to fix this with an adapter after Sprint 1 so that it will be
loaded only if user wants to use the paas console.

thanks
Anissa

On 9/21/11 7:08 AM, Tom Mueller wrote:
> 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.
>>