users@glassfish.java.net

Re: create-jvm-options target instance scope?

From: <glassfish_at_javadesktop.org>
Date: Wed, 26 Dec 2007 21:55:10 PST

Hi Andrew,

You may want to look into creating a system property (asadmin create-system-properties) for each of the clustered instance then when creating the jvm-options, you can select cluster as the target and use the system property as the jvm-option value.

i.e.
asadmin create-system-properties --target <instance-name> FRAMEWORK_PROPERTY=file:///app_load1.properties
asadmin create-jvm-options --target <cluster-name> -- "-Dframework.propertyregistry.override=${FRAMEWORK_PROPERTY}"

HTH,
Jane
[Message sent by forum member 'janey' (janey)]

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