My Oracle Support Banner

WLS 7.0 SP2 - Problems running weblogic.security.ntrealm.NTRealm - CR107604 (Doc ID 772164.1)

Last updated on OCTOBER 15, 2020

Applies to:

Oracle WebLogic Server - Version 7.0 to 7.0
Information in this document applies to any platform.
Information in this document applies to any platform


Goal

DESCRIPTION:
Receiving the following error when running  --> java weblogic.security.ntrealm.NTRealm username password

<BEA_HOME>\user_projects\new_domain>java weblogic.security.ntrealm.NTRealm username password
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ weblogic.management.Admin may only be used on the Server
]
        at weblogic.management.Admin.getInstance(Admin.java:104)
        at weblogic.server.Server.getSecurityConfig(Server.java:94)
        at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:44)
        at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:42)
        at weblogic.security.ntrealm.NTRealm.main(NTRealm.java:252)
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ weblogic.management.Admin may only be used on the Server
]
        at weblogic.management.Admin.getInstance(Admin.java:104)
        at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:45)
        at weblogic.security.ntrealm.NTRealm.main(NTRealm.java:252)
Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[
weblogic.management.Admin may only be used on the Server ]
        at weblogic.management.Admin.getInstance(Admin.java:104)
        at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:45)
        at weblogic.security.ntrealm.NTRealm.main(NTRealm.java:252)

CONFIGURATION:
WLS 7.0 SP2

Solution

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
Goal
Solution

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