My Oracle Support Banner

Getting NullPointerException Enabling Secure Admin on GlassFish 3.1.2 (Doc ID 1519384.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.


On GlassFish 3.1.2,  when attempting to run "asadmin enable-secure-admin" the following error occurs.



The GlassFish administration is change from the default File Realm to a custom LDAP authentication realm. The change to using LDAP for administration authentication was done by "asadmin configure-ldap-for-admin".


To view full details, 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 a vibrant support community of peers and Oracle experts.