Network Deployment (Distributed operating systems), v8.0 > Reference > Command-line utilities


dumpNameSpace tool

Use dumpNameSpace to dump the contents of a namespace accessed through a name server. The dumpNameSpace tool is based on JNDI.

The naming service must be active. The dumpNameSpace tool cannot dump namespaces local to the server process, such as those with URL schemes:

The local: namespace contains references to enterprise beans with local interfaces. To dump java: and local: namespaces, use the namespace dump utility for java:, local: and server namespaces

dumpNameSpace dumps the server root context for the server at the specified host and port unless you specify a non-default starting context which precludes it.

For systems with more than one IP address, modify the order in which the system configured name lookup mechanism processes during the running of the dumpNameSpace tool using the Java option setting...


Run dumpNameSpace

To access the dumpNameSpace tool through its program interface, refer to the class...

To run from the command-line...

If you run the dumpNameSpace tool with security enabled and the property...

...is set in...

...a login prompt is displayed.

If you cancel the login prompt, the dumpNameSpace tool continues outbound with an "UNAUTHENTICATED" credential. Thus, by default, an "UNAUTHENTICATED" credential is used that is equivalent to the "Everyone" access authorization policy. We can modify this default setting by changing the value for the property...

...to true in...

If you do not set the com.ibm.CORBA.loginSource property in the sas.client.props file, the dumpNameSpace tool continues outbound with the user name and password that is set in the credential.

If Kerberos (KRB5) is enabled for administrative authentication, the authenticationTarget supports both BasicAuth and KRB5.

To use Kerberos authentication, update the sas.client.props, soap.client.props, and ipc.client.props files according to the connector type. When using Kerberos authentication, the user password does not flow across the wire. A one-way hash of the password identifies the client.


Parameters


Return codes

The dumpNameSpace tool has the following return codes:

Return code Description
0 Normal system exit. No error resulted from running dumpNameSpace.
1 Error in getting the starting context
2 Other error occurred with exception. Running dumpNameSpace resulted in an error other than an error in getting the starting context.
3 Unsupported option specified


Related

View a namespace dump
View java:, local:, and server namespace dumps
Select an authentication mechanism
Kerberos (KRB5) authentication mechanism support for security
Troubleshoot namespace problems

+

Search Tips   |   Advanced Search