users@glassfish.java.net

Re: RE: Need help with asadmin command to set a property

From: <glassfish_at_javadesktop.org>
Date: Thu, 02 Oct 2008 08:40:14 PDT

The custom properties do not show up using that. Here is a snippet of my "domain.xml"

[i]
    <lifecycle-module class-name="com.canoga.glassfish.lifecycle.logging.handler.FileHandlerConfigurator" enabled="true" is-failure-fatal="false" load-order="1" name="FileHandlerConfigurator" object-type="user">
      <description>Logging FileHandler Configurator</description>
      <property name="com.canoga.nms.pcs.slm.pattern" value="slm-%g.log"/>
      <property name="com.canoga.nms.pcs.slm.count" value="10"/>
      <property name="com.canoga.nms.pcs.baais.limit" value="1024000"/>
      <property name="com.canoga.nms.pcs.slm.limit" value="1024000"/>
      <property name="com.canoga.nms.pcs.baais.count" value="10"/>
      <property name="com.canoga.nms.pcs.baais.pattern" value="baais-%g.log"/>
    </lifecycle-module>
[/i]

If I run:
[i]
    asadmin get *.*
[/i]
these properties do not show up. This is what I see in the output:

[i]
domain.applications.lifecycle-module.FileHandlerConfigurator.class-name = com.canoga.glassfish.lifecycle.logging.handler.FileHandlerConfigurator
domain.applications.lifecycle-module.FileHandlerConfigurator.classpath = /opt/canogaview/app/glassfish/domains/domain1/lib/canoga-cstmlog.jar
domain.applications.lifecycle-module.FileHandlerConfigurator.description = Logging FileHandler Configurator
domain.applications.lifecycle-module.FileHandlerConfigurator.enabled = true
domain.applications.lifecycle-module.FileHandlerConfigurator.is-failure-fatal = false
domain.applications.lifecycle-module.FileHandlerConfigurator.load-order = 1
domain.applications.lifecycle-module.FileHandlerConfigurator.name = FileHandlerConfigurator
domain.applications.lifecycle-module.FileHandlerConfigurator.object-type = user
[/i]

The properties defined for the lifecycle module do not show up. Any other ideas?
[Message sent by forum member 'bbergquist' (bbergquist)]

http://forums.java.net/jive/thread.jspa?messageID=302971