Writing Web Applications With WAI: Netscape Enterprise Server/FastTrack Server, Version 3.0/3.01

[Contents] [Previous] [Next] [Index]

Chapter 11
Troubleshooting Problems

If you experience problems running WAI applications, consult this chapter for troubleshooting tips.

Error: WAI Application Not Found

Symptom: The web server cannot find your WAI application (for example, if it responds to an /iiop URI with a "Not Found" page).

Possible Explanation: Your WAI application is not properly registered with the web server. Try the following troubleshooting tips:

Error: Server Error

Symptom: When you run your WAI application, you get a server error.

Possible Explanation: Server errors can occur for a number of different reasons. See the list of possible explanations below.

Error: Invalid Stringified Object Reference `'

Symptom: When you attempt to run your WAI application, your application exits with the following error message:

Invalid Stringified Object Reference ''
Failed to Register with hostname
Possible Explanation: This error message can appear for a number of different reasons. See the list of possible explanations below.

Web Service Registration

The following two commands, unregobj and listimpl in the wai/bin directory are useful for troubleshooting whether you registered your web service properly.

listimpl

This command lets you list all ORB object implementations registered with the Object Activation Daemon (OAD).

Description

This command lists information in the OAD's implementation repository. The information for each object includes:

For UNIX, if interface_name is specified, only information for that ORB object is displayed, otherwise all ORB objects registered with the OAD and their information will be shown.

The implementation repository files are assumed to reside in the impl_dir subdirectory whose path is defined by the ORBELINE environment variable. A different directory name can be set using the ORBELINE_IMPL_NAME environment variable. The path to this directory can be changed using the ORBELINE_IMPL_PATH environment variable.

Example:

listimpl -i Library

unregobj

This command unregisters ORB objects registered with the Object Activation Daemon (OAD).

Description

This command unregisters one or more ORB objects with the Object Activation Daemon. Once an object is unregistered, it can no longer be activated automatically by the OAD when a client requests the object.

ORB objects being unregistered must have been previously registered using the regobj command.

If you specify only an interface name, all ORB object with that interface that are registered with the OAD will be unregistered. Alternatively, you may specificially identify an ORB object by its interface name and object name.

If an object implementation is started manually as a persistent server, it does not need to be registered with the OAD.

Example:

unregobj -o Library,Harvard
Example:

unregobj -i Library


[Contents] [Previous] [Next] [Index]

Last Updated: 12/04/97 16:13:18


Copyright © 1997 Netscape Communications Corporation

Any sample code included above is provided for your use on an "AS IS" basis, under the Netscape License Agreement - Terms of Use