My Oracle Support Banner

When Using a 64-bit JDK With Oracle GlassFish Server The Passwords Entered In CLI Are Displayed In The Clear (Doc ID 1402163.1)

Last updated on JUNE 13, 2023

Applies to:

Oracle GlassFish Server - Version 2.1.1 and later
Microsoft Windows x64 (64-bit)


When using a 64-bit JDK, the GlassFish Server won't mask the passwords entered in CLI (asadmin), so they will be displayed in the clear.

Steps to reproduce the problem:

1) Install 64-bit JDK.

2) Install GF 2.1.1 and have it use the JDK installed above.

3) Run an asadmin command that requires entering a password, such as create-domain or start-domain. When prompted for the password, type it in and it will be displayed in clear:



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.