admin@glassfish.java.net

put latest 3.1 default-config.xml in lib\templates for now

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Wed, 07 Apr 2010 17:07:21 +0100

For now I have put the latest 3.1 default-config.xml (not final) under
lib/templates. When we decide if it should be inside domain.xml, or
outside as a separate file in lib/templates, I'll move it accordingly.

It uses "3####" port numbers directly instead of tokens for now until
token support is implemented.

fyi:
As an experiment, I put the default-config in the domain.xml (without
the ${ tokens). GlassFish starts up fine. Doing an asadmin get "*" I
can see the default-config elements have been loaded. If you deploy or
start web container, it complains about a second child "server" (virtual
server id="server"). If I change the default-config virtual server id
to "server2", then it goes through ok. Then I tried running
quicklook. 1 AMX test fails - testAllGenerically - with problems on the
availabilty amx mbeans.

java.lang.AssertionError: [Error invoking getMQStorePoolName() on amx:pp=/domain/configs/config[default-config]/availability-service,type=jms-availability = java.lang.reflect.InvocationTargetException,
Error invoking getAutoManageHAStore() on amx:pp=/domain/configs/config[default-config],type=availability-service = java.lang.reflect.InvocationTargetException,
Error invoking getHAAgentHosts() on amx:pp=/domain/configs/config[default-config],type=availability-service = java.lang.reflect.InvocationTargetException,
Error invoking getHAAgentPort() on amx:pp=/domain/configs/config[default-config],type=availability-service = java.lang.reflect.InvocationTargetException,
Error invoking getHAAgentPassword() on amx:pp=/domain/configs/config[default-config],type=availability-service = java.lang.reflect.InvocationTargetException,
Error invoking getHAStoreHealthcheckIntervalSeconds() on amx:pp=/domain/configs/config[default-config],type=availability-service = java.lang.reflect.InvocationTargetException,
Error invoking getHAStoreName() on amx:pp=/domain/configs/config[default-config],type=availability-service = java.lang.reflect.InvocationTargetException,
Error invoking getHAStoreHealthcheckEnabled() on amx:pp=/domain/configs/config[default-config],type=availability-service = java.lang.reflect.InvocationTargetException,
Error invoking getFDProtocolMaxTries() on amx:pp=/domain/configs/config[default-config],type=group-management-service = java.lang.reflect.InvocationTargetException,
Error invoking getFDProtocolTimeoutMillis() on amx:pp=/domain/configs/config[default-config],type=group-management-service = java.lang.reflect.InvocationTargetException,
Error invoking getMergeProtocolMaxIntervalMillis() on amx:pp=/domain/configs/config[default-config],type=group-management-service = java.lang.reflect.InvocationTargetException,
Error invoking getMergeProtocolMinIntervalMillis() on amx:pp=/domain/configs/config[default-config],type=group-management-service = java.lang.reflect.InvocationTargetException,
Error invoking getPingProtocolTimeoutMillis() on amx:pp=/domain/configs/config[default-config],type=group-management-service = java.lang.reflect.InvocationTargetException,
Error invoking getVSProtocolTimeoutMillis() on amx:pp=/domain/configs/config[default-config],type=group-management-service = java.lang.reflect.InvocationTargetException,
Error invoking getHTTPSessionStorePoolName() on amx:pp=/domain/configs/config[default-config]/availability-service,type=web-container-availability = java.lang.reflect.InvocationTargetException,
Error invoking getSSOFailoverEnabled() on amx:pp=/domain/configs/config[default-config]/availability-service,type=web-container-availability = java.lang.reflect.InvocationTargetException,
Error invoking getSFSBHAPersistenceType() on amx:pp=/domain/configs/config[default-config]/availability-service,type=ejb-container-availability = java.lang.reflect.InvocationTargetException,
Error invoking getSFSBPersistenceType() on amx:pp=/domain/configs/config[default-config]/availability-service,type=ejb-container-availability = java.lang.reflect.InvocationTargetException,
Error invoking getSFSBStorePoolName() on amx:pp=/domain/configs/config[default-config]/availability-service,type=ejb-container-availability = java.lang.reflect.InvocationTargetException,
Error invoking getSFSBQuickCheckpointEnabled() on amx:pp=/domain/configs/config[default-config]/availability-service,type=ejb-container-availability = java.lang.reflect.InvocationTargetException,
Error invoking getSFSBCheckpointEnabled() on amx:pp=/domain/configs/config[default-config]/availability-service,type=ejb-container-availability = java.lang.reflect.InvocationTargetException]
        at amxtest.AMXProxyTests.testAllGenerically(AMXProxyTests.java:480)