Skip to main content

Real values of configuration variables

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
613 Guest
Offline
Joined: 2011-05-28

Hi,

I need to expand configuration variables to the real values. Let say i found
at domain.xml property like:

gms-bind-interface-address="${GMS-BIND-INTERFACE-ADDRESS-Cluster01}"

>From the doc here
i
found that the real values of vars are defined at system-properies tag or
passed through the jvm args.
But i can't find ${GMS-BIND-INTERFACE-ADDRESS-Cluster01} var definition at
domain.xml.

Two question here:
- Is there a way to expand var names easily? Let say through the asadmin or
anyhow else?
- where should i search var definitions if they are not found at
domain.xml(for the ${GMS-BIND-INTERFACE-ADDRESS-Cluster01} var for example)?

Thanks,
Eugene

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bbissett
Offline
Joined: 2003-06-16

On 6/2/11 8:24 AM, Eugene Kondrashev wrote:
> Hi,
>
> I need to expand configuration variables to the real values. Let say i
> found at domain.xml property like:
>
> gms-bind-interface-address="${GMS-BIND-INTERFACE-ADDRESS-Cluster01}"
>
> From the doc here
> i
> found that the real values of vars are defined at system-properies tag
> or passed through the jvm args.
> But i can't find ${GMS-BIND-INTERFACE-ADDRESS-Cluster01} var
> definition at domain.xml.

If you don't specify it yourself, then there won't be any value in
domain.xml for it and GMS will just pick an address to use. If you do
set one, you'll end up with information like below in domain.xml.

...

...

See here for more information on GMS with multi-homed machine:

http://download.oracle.com/docs/cd/E18930_01/html/821-2426/gjfnl.html#gjdoo

Cheers,
Bobby