'Password Aliases In System Properties Remain Unresolved' in GlassFish 3.1.2.x (Doc ID 2098238.1)

Last updated on FEBRUARY 02, 2016

Applies to:

Oracle GlassFish Server - Version 3.1.2 to 3.1.2 [Release 3.1]
Information in this document applies to any platform.

Symptoms

Encrypted password alias is not resolved as a system property. If you take the following action:

1) Create a suitable encrypted password alias. For example, "aliasTest".

# asadmin create-password-alias ${ALIAS=aliasTest}

2) Add the following system properties to the instance:

<system-property name="test" value="${ALIAS=aliasTest}"></system-property>

Restart the instance.

3) A web application that attempts to use this alias:

http://x.x.x.x/alias-webapp/resources/alias

will return:

${ALIAS=aliasTest}

The alias is not resolved.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms