My Oracle Support Banner

JNDI naming exception:javax.naming.NameNotFoundException when using the weblogic.Admin utility (Doc ID 1334090.1)

Last updated on SEPTEMBER 28, 2020

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to get the state of a server using the weblogic.Admin command-line interface (see below), the following error occurs.

java weblogic.Admin -url <host>:<port> -username <username> -password <password> GETSTATE <serverName>

 

JNDI naming exception:javax.naming.NameNotFoundException: While trying to lookup 'weblogic.management.home.localhome' didn't find subcontext 'home'. Resolved 'weblogic.management' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'weblogic.management.home.localhome' didn't find subcontext 'home'. Resolved 'weblogic.management']; remaining name 'home/localhome'

Cause

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
Symptoms
Cause
Solution


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